Skip to content

Activate primary "clipboard" tab after pasting from other tab #1979

Answered by hluk
moritzdietz asked this question in Q&A
Discussion options

You must be logged in to vote

The following command copies the selected item (on item activation), hides the main window, pastes the clipboard and switches back to the first tab (here is how to add the command to CopyQ):

[Command]
Command="
    copyq:
    select(currentItem())
    hide()
    paste()
    setCurrentTab(tab()[0])"
Icon=\xf362
InMenu=true
Name=Back to Primary Tab
Shortcut=return, enter

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@moritzdietz
Comment options

@moritzdietz
Comment options

Answer selected by moritzdietz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants