Created
December 2, 2021 09:26
-
-
Save OKsign/d5d598ed6a6461ad4e90952030acf635 to your computer and use it in GitHub Desktop.
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
{ | |
"title" : "Eject Key - Capture Full Screen | Hold - Selection", | |
"rules" : [ | |
{ | |
"description" : "Eject Key - Capture Full Screen | Hold - Selection", | |
"manipulators" : [ | |
{ | |
"from" : { | |
"consumer_key_code":"eject" | |
}, | |
"parameters" : { | |
"basic.to_if_alone_timeout_milliseconds" : 300, | |
"basic.to_if_held_down_threshold_milliseconds" : 500 | |
}, | |
"to_if_alone" : [ | |
{ | |
"shell_command": "osascript -e 'do shell script \"screencapture -m -p\"'" | |
} | |
], | |
"to_if_held_down" : [ | |
{ | |
"shell_command": "osascript -e ' do shell script \"screencapture -i -p\"'" | |
} | |
], | |
"type" : "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment