topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday April 23, 2024, 2:24 am
  • 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]
1
Actually: Sorry, forget it.
In Evernote, I can switch to a "new web client" view where pasting images works again.
So it really was stupid evernote and there is an easy fix.

2
Screenshot Captor / Copy to Clipboard: Paste to Evernote no longer works
« on: September 12, 2023, 10:26 AM »
I have configured ScreenshotCaptor to automatically copy the captured image to the clipboard, so that I can directly paste the image somewhere else.

For a couple of months now I can no longer paste into a note opened in the Evernote web client.
I just installed the 4.43.0, but that did not help.

This is probably the fault of Evernote (it continues to get worse over time), but I am not quite ready to move to another note app.
Also, when I copy an image in Firefox and Chrome, I can successfully paste that into an Evernote note.

Could you please have a look at how the copy-to-clipboard can be tweaked to make pasting into Evernote (and probably other apps) work again?



3
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

4
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.

5
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:
[attach=#1][/attach]
Paste into Word gets the text:
[attach=#2][/attach]

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.

Main:
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.setPaint(Color.RED);
        graphics.fillOval(5, 5, 70, 30);
        return bufferedImage;
    }
}

Helper class:
package de.eekboom.cliptest;

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

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

    private static final DataFlavor[] flavors = {
            DataFlavor.stringFlavor,
            DataFlavor.imageFlavor
    };

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

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

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

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

    @Override
    public void lostOwnership(Clipboard clipboard, Transferable contents) {
    }

}

6
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?)
[attach=#2][/attach]

However it only ever copies the file path in that case:
[attach=#1][/attach]

Pages: [1]