avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday May 27, 2022, 5:46 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - eekboom [ switch to compact view ]

Pages: [1]
When I right click on ScreenshotCaptor's tray icon a context menu pops up.
When I task bar is at the bottom, left, or top of my screen, then it is positioned correctly.
However, when the task bar is on the right, then the contet menu popup is too far left.
See screenshot:
Screenshot - 26.02.2021 , 18_37_05.png

Screenshot Captor / Re: Bug: Cannot copy _both_ file path and image
« on: December 09, 2011, 06:05 AM »
Right, thanks, I only just now noticed. In my defense: I think our client only updated to that Jira version recently.

Still the issue remains.
At the very least it is a usability bug: If there are two _checkboxes_ which I can both check, then it should work (and it is easy to implement as I demonstrated).
Otherwise there should be a radio group with two mutually exclusive radio buttons.

Screenshot Captor / Re: Bug: Cannot copy _both_ file path and image
« on: December 08, 2011, 11:06 AM »
I think these options can't be performed at the same time because windows clipboard only can hold one item (picture or text).
That's just wrong. (Even for text there are already four different formats in the clipboard, see the screenshot of the clipboard viewer in my previous post).
I just verified that the clipboard can also hold image and text formats at the same time: I wrote a small Java program that does exactly that.
When I run the code,
then paste into Paint.NET I get an image:
Paste into Word gets the text:

BTW my use case is: I am frequently using two issue trackers: YouTrack which has an option "Attach Image from Clipboard" and Jira where I need to upload a file. It would be nice to have the screenshot in both formats automatically, so that I can immediately use it on either bug tracker.

package de.eekboom.cliptest;

import java.awt.*;
import java.awt.datatransfer.Clipboard;
import java.awt.image.BufferedImage;

public class Main {
    public static void main(String[] args) {
        Clipboard clipboard = Toolkit.getDefaultToolkit().getSystemClipboard();
        BufferedImage bufferedImage = createImage();

        TextAndImageContent content = new TextAndImageContent("Text & Image in Clipboard", bufferedImage);

        clipboard.setContents(content, null);

    private static BufferedImage createImage() {
        BufferedImage bufferedImage = new BufferedImage(80, 40, BufferedImage.TYPE_INT_RGB);
        Graphics2D graphics = bufferedImage.createGraphics();
        graphics.fillOval(5, 5, 70, 30);
        return bufferedImage;

Helper class:
package de.eekboom.cliptest;

import java.awt.datatransfer.*;
import java.awt.image.BufferedImage;

public class TextAndImageContent implements Transferable, ClipboardOwner {
    private final String text;
    private final BufferedImage image;

    private static final DataFlavor[] flavors = {

    public TextAndImageContent(String text, BufferedImage image) {
        this.text = text;
        this.image = image;

    public DataFlavor[] getTransferDataFlavors() {
        return (DataFlavor[])flavors.clone();

    public boolean isDataFlavorSupported(DataFlavor flavor) {
        for (DataFlavor supportedFlavor : flavors) {
            if (flavor.equals(supportedFlavor)) {
                return true;
        return false;

    public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
        if (flavor.equals(DataFlavor.stringFlavor)) {
            return text;
        if (flavor.equals(DataFlavor.imageFlavor)) {
            return image;
        return null;

    public void lostOwnership(Clipboard clipboard, Transferable contents) {


Screenshot Captor / Bug: Cannot copy _both_ file path and image
« on: December 07, 2011, 10:24 PM »
I configured in the options to have Screenshot Captor copy both the file path and the image itself to the clipboard.
(Should be possible from my understanding of the windows clipboard, right?)

However it only ever copies the file path in that case:

Pages: [1]