CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

Question Noob cannot see in Docs

Open thorrrr opened this issue 3 years ago • 1 comments

Hello i am transitioning over from Windows and have been using Ditto for 10 years. But i need a new Clipboard Manager CopyQ looks like a very good replacement if not a lot better. But i am struggling to get it to work how i think it should work. I want a key binding just to get the GUI popup to view in bottom right whets in my clipboard (i currently use Alt V). Then the keyboard shortcut to select which one you want like number 4 in the list. I have read you just hit the number but that just closes it. I have tried every combination and read the wiki but cannot find what i am looking for. Sorry for such a noob question

thorrrr avatar Jul 04 '22 16:07 thorrrr

If you want to quickly select a recent item it is better to open tray menu instead of the main window. A global shortcut to "Show the tray menu" can be also assigned in Preferences.

To get this to work from the main window you would need to add a command. Something like Select Nth Item command with few modifications (here is how to add the command to CopyQ):

[Command]
Command="
    copyq:
    var n = str(data(mimeShortcut)).slice(-1)
    if (config('row_index_from_one') == 'true') {
        n = n - 1
    }
    select(n)
    hide()
    paste()"
Icon=\xf0cb
InMenu=true
Name=Select Nth Item
Shortcut=ctrl+shift+0, ctrl+shift+1, ctrl+shift+2, ctrl+shift+3, ctrl+shift+4, ctrl+shift+5, ctrl+shift+6, ctrl+shift+7, ctrl+shift+8, ctrl+shift+9

hluk avatar Jul 07 '22 16:07 hluk