Closed Clemens-Ratte-Polle closed 2 years ago
Where is Command: Merge and Delete ?
I don't remember this. Any idea where did this come from?
In script, add(...)
only adds new item to the top of the list.
dont know anymore, perhaps my own creation? What do you think about: add(input() ?
I test and look around...
Here is your command as answer named from 3 Jun 2019: Merge and Delete
[Command] Command=" copyq: add(input())" Icon=\xf022 InMenu=true Input=text/plain Name=Merge and Delete Remove=true Shortcut=ctrl+shift+m
https://github.com/hluk/CopyQ/issues/1158#issuecomment-498276994
Solution! And perhaps problem too. I pasted your (inofficial?) command "Merge and Delete" in F6 command list and result is: add(input())
And if i paste this official command to the command list F6: Join Selected Items
[Command] Name=Join Selected Items Command=copyq add -- %1 InMenu=true Icon=\xf066 Shortcut=Space
https://copyq.readthedocs.io/en/latest/command-examples.html#join-selected-items
the resulting code is: copyq add -- %1
Any command mentioned in the documentation at https://copyq.readthedocs.io and also in this repo (master branch) should work, otherwise it is a bug.
If you paste Join Selected Items the "Command" edit box would contain copyq add -- %1
- there are other UI elements that should get populated after pasting the code - for example the "Shortcut" would contain "Space" (saving the command and pressing Space after selecting multiple items in the item-list/clipboard-history would create new item with concatenated text from all the selected items).
Hi. Where is Command: Merge and Delete ? copyq: add(input()) I can not find it anymore.
It should not jump automatically to the top of the tab.