Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy nth command #16

Closed
fabiodocit123 opened this issue Aug 6, 2019 · 6 comments
Closed

Copy nth command #16

fabiodocit123 opened this issue Aug 6, 2019 · 6 comments

Comments

@fabiodocit123
Copy link

Please when i press shortcuts to copy item 0 or item 1 command for example
i need ever open copyQ window to change clipboard value ?
is possible for only press shortcuts and change clipboard value ?

@hluk
Copy link
Owner

hluk commented Aug 14, 2019

Which shourtcut do you mean and where? What do you mean by "clipboard value"?

@fabiodocit123
Copy link
Author

sorry clipboard "content"

@hluk
Copy link
Owner

hluk commented Aug 14, 2019

I still don't understand the questions. Is this related to some command? (Issues related to the application are in CopyQ repository.)

If you want to edit current clipboard content there is predefined command "Edit clipboard" in CopyQ.

@fabiodocit123
Copy link
Author

that command

@fabiodocit123
Copy link
Author

fabiodocit123 commented Aug 14, 2019

copyq:
var shortcut = str(data("application/x-copyq-shortcut"))
var number = shortcut ? shortcut.replace(/^\D+/g, '') : currentItem();
selectItems(number)
copy("application/x-copyq-item", pack(getItem(number)))

to activate this command i need open copy q window right ?
this work with global shorcut ?
example > copy the content 1 and content 2
and i need use the content 1 three times and content 2 three times in altenate moments (for example)
i can change this items with global shorcuts ? for i dont need open copyq software window

@hluk
Copy link
Owner

hluk commented Aug 15, 2019

this work with global shorcut ?

Did you try to enable "Global Shortcut" for the command in Command dialog? It should be possible to use both.

image

@hluk hluk closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants