Copying multiple images at once

611 views
Skip to first unread message

Eran Guendelman

unread,
Oct 9, 2017, 10:16:56 AM10/9/17
to CopyQ
Hi, so I've seen how to copy an image to the clipboard using

copyq copy image/png - < foo.png

And this is useful because I can then Ctrl-V in a gmail window to paste the image into an email.

But is it possible to copy multiple images to the clipboard (as one multi-part item) so that I can then Ctrl-V them into the email all in one go?
(Kind of like the drag and drop support in gmail where I can drag a few files from the explorer into the gmail window...  which I assume uses some different javascript magic independent of the clipboard)

Thanks

Lukáš Holeček

unread,
Oct 11, 2017, 8:12:14 AM10/11/17
to Eran Guendelman, CopyQ
Just tested this and it looks like it's only possible to drag'n'drop multiple image files (specifically "text/uri-list" data type) to Gmail.

I'm not aware of other way to do this.

Lukas


--
You received this message because you are subscribed to the Google Groups "CopyQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copyq+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/copyq/6e565139-39a8-4936-88b7-0ac138530c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eran Guendelman

unread,
Oct 11, 2017, 10:59:55 AM10/11/17
to CopyQ
I see...
So how about this, can I define some shortcut to paste AND pop the last item from the clipboard.  So if I copy N images to clipboard using copyq, I can then press this shortcut N times in a row to paste the images (I guess in reverse order) into the gmail window?  Does copyq have a command to remove the last item from the clipboard?
Thanks


On Wednesday, October 11, 2017 at 3:12:14 PM UTC+3, Lukáš Holeček wrote:
Just tested this and it looks like it's only possible to drag'n'drop multiple image files (specifically "text/uri-list" data type) to Gmail.

I'm not aware of other way to do this.

Lukas

On Mon, Oct 9, 2017 at 4:16 PM, Eran Guendelman <eran.gu...@gmail.com> wrote:
Hi, so I've seen how to copy an image to the clipboard using

copyq copy image/png - < foo.png

And this is useful because I can then Ctrl-V in a gmail window to paste the image into an email.

But is it possible to copy multiple images to the clipboard (as one multi-part item) so that I can then Ctrl-V them into the email all in one go?
(Kind of like the drag and drop support in gmail where I can drag a few files from the explorer into the gmail window...  which I assume uses some different javascript magic independent of the clipboard)

Thanks

--
You received this message because you are subscribed to the Google Groups "CopyQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to copyq+un...@googlegroups.com.

Lukáš Holeček

unread,
Oct 11, 2017, 11:20:47 AM10/11/17
to Eran Guendelman, CopyQ
On Wed, Oct 11, 2017 at 4:59 PM, Eran Guendelman <eran.gu...@gmail.com> wrote:
So how about this, can I define some shortcut to paste AND pop the last item from the clipboard.

Similar thing was requested before. If you go to [1] and copy the command to CopyQ you would be able to put all images to "Stack" tab and paste them with a custom shortcut.

There is also predefined command "Paste and copy next" in Command dialog (F6 shortcut) -- just click on Add button there and add the command.


Reply all
Reply to author
Forward
0 new messages