Last active
March 24, 2017 14:34
-
-
Save hluk/4a7be6db8fe1c072469e to your computer and use it in GitHub Desktop.
CopyQ - Store Copy Time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Command] | |
Automatic=true | |
Command=" | |
copyq: | |
var item = unpack(input()) | |
item['application/x-copyq-time'] = dateString('yyyyMMddhhmmss') | |
write(0, \"application/x-copyq-item\", pack(item))" | |
Icon=\xf017 | |
Input=application/x-copyq-item | |
Name=Store Copy Time | |
Transform=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the command above an empty item will be created with only the timestamp as
application/x-copyq-item
.But https://github.com/hluk/CopyQ/wiki/Command-Examples#show-copy-time works