Not move selected item to top

24 views
Skip to first unread message

drW

unread,
Nov 26, 2024, 4:49:02 PM11/26/24
to CopyQ
The documentation for select says

"Copies item in the row to clipboard.

Additionally, moves selected item to top depending on settings."

I do this with "C:\Program Files (x86)\CopyQ\copyq.exe select(2)"

How can I prevent the selected item from being moved to the top?

Thx, dr

Lukáš Holeček

unread,
Nov 27, 2024, 3:04:22 AM11/27/24
to drW, CopyQ
The "select" behavior depends on "Move to the top" (in History section in Preferences).

To only copy an item you can use `copy(getItem(2))` instead of `select(2)`.

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+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/copyq/6a6b8900-6443-4fa2-a5d2-538baf1c2168n%40googlegroups.com.

drW

unread,
Nov 29, 2024, 1:30:00 PM11/29/24
to CopyQ
(may be duplicate reply)
Thanks Lukáš, that worked for me in that it copies the desired item to the clipboard.

Is there a way to copy an item to a variable as in var := "C:\Program Files (x86)\CopyQ\copyq.exe some_cmd(2)"  ?

-Dale
Reply all
Reply to author
Forward
0 new messages