Snippet: CleanShot keys #82
galligan
started this conversation in
Show and tell
Replies: 3 comments 3 replies
-
|
This is great! I was going through Raycast for this but of course cleanshot has its own URL scheme. Perfect 👌 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
how do I paste the snippet correctly? I tried after the last line and got an error message |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Thanks for the heads-up Matt & as suspected (with some more research & trial & error with the config file) my “theory” about indentation being an issue is not valid 
… Am 1/8/2025 um 02:20 schrieb Matt Galligan ***@***.***>:
Yeah unfortunately this snippet is incorrect. I'm not on that machine right now with this config, but will try to post the corrected one later.
—
Reply to this email directly, view it on GitHub <#82 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AE7ICMVRJLFJ66HADSKI7QT3LI64DAVCNFSM6AAAAABWO5TSKWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJUHE3DOMA>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
For any of you that use CleanShot X, LeaderKey has made it a pleasure to use and get way more out of it than just your typical keyboard shortcuts. So if anyone else wants to give it a shot, I thought I'd include a snippet of what I've got going on in there.
The general premise is that you start with
[leader]then[s]followed by which type of screenshot you want, and then the action.Enjoy!
Keys / Commands
The types are:
[1]- Capture All-in-One[f]- Capture Fullscreen[a]- Capture Area[w]- Capture Window[i]- Capture with Timer[v]- Capture Previous AreaThe actions are:
[a]- Capture and send to Raycast AI[c]- Capture[s]- Capture and Save[t]- Capture and Annotate[u]- Capture and Upload[k]- Capture and Copy[p]- Capture and PinOther commands include:
[t]- Open selected file with Annotate[x]- Capture Text for OCR[r]- Record Screen[h]- Open History[q]- Quick Access[,]- CleanShot X SettingsOnly thing it's missing right now is scrolling capture, which I will probably get in there with an
[s]key soon.Config snippet
{ "key": "s", "label": "Screenshot", "type": "group", "actions": [ { "key": "1", "label": "Capture All-in-One", "type": "url", "value": "cleanshot://all-in-one" }, { "key": "f", "label": "Capture Fullscreen", "type": "group", "actions": [ { "key": "a", "label": "Capture Full Screen and send to Raycast AI", "type": "url", "value": "raycast://extensions/raycast/raycast-ai/send-screen-to-ai-chat" }, { "key": "c", "label": "Fullscreen", "type": "url", "value": "cleanshot://capture-fullscreen" }, { "key": "s", "label": "Fullscreen Save", "type": "url", "value": "cleanshot://capture-fullscreen?action=save" }, { "key": "t", "label": "Fullscreen and Annotate", "type": "url", "value": "cleanshot://capture-fullscreen?action=annotate" }, { "key": "u", "label": "Fullscreen and Upload", "type": "url", "value": "cleanshot://capture-fullscreen?action=upload" }, { "key": "k", "label": "Fullscreen and Copy", "type": "url", "value": "cleanshot://capture-fullscreen?action=copy" }, { "key": "p", "label": "Fullscreen and Pin", "type": "url", "value": "cleanshot://capture-fullscreen?action=pin" } ] }, { "key": "w", "label": "Capture Window", "type": "group", "actions": [ { "key": "c", "label": "Capture Window", "type": "url", "value": "cleanshot://capture-window" }, { "key": "s", "label": "Capture Window and Save", "type": "url", "value": "cleanshot://capture-window?action=save" }, { "key": "t", "label": "Capture Window and Annotate", "type": "url", "value": "cleanshot://capture-window?action=annotate" }, { "key": "u", "label": "Capture Window and Upload", "type": "url", "value": "cleanshot://capture-window?action=upload" }, { "key": "k", "label": "Capture Window and Copy", "type": "url", "value": "cleanshot://capture-window?action=copy" }, { "key": "p", "label": "Capture Window and Pin", "type": "url", "value": "cleanshot://capture-window?action=pin" } ] }, { "key": "a", "label": "Capture Area", "type": "group", "actions": [ { "key": "a", "label": "Capture Area and send to Raycast AI", "type": "url", "value": "raycast://extensions/Aayush9029/cleanshotx/capture-area-raycast-aichat" }, { "key": "c", "label": "Capture Area", "type": "url", "value": "cleanshot://capture-area" }, { "key": "s", "label": "Capture Area and Save", "type": "url", "value": "cleanshot://capture-area?action=save" }, { "key": "t", "label": "Capture Area and Annotate", "type": "url", "value": "cleanshot://capture-area?action=annotate" }, { "key": "u", "label": "Capture Area and Upload", "type": "url", "value": "cleanshot://capture-area?action=upload" }, { "key": "k", "label": "Capture Area and Copy", "type": "url", "value": "cleanshot://capture-area?action=copy" }, { "key": "p", "label": "Capture Area and Pin", "type": "url", "value": "cleanshot://capture-area?action=pin" } ] }, { "key": "i", "label": "Capture Area with Timer", "type": "group", "actions": [ { "key": "c", "label": "Capture Area with Timer", "type": "url", "value": "cleanshot://self-timer" }, { "key": "s", "label": "Capture Area with Timer and Save", "type": "url", "value": "cleanshot://self-timer?action=save" }, { "key": "t", "label": "Capture Area with Timer and Annotate", "type": "url", "value": "cleanshot://self-timer?action=annotate" }, { "key": "u", "label": "Capture Area with Timer and Upload", "type": "url", "value": "cleanshot://self-timer?action=upload" }, { "key": "k", "label": "Capture Area with Timer and Copy", "type": "url", "value": "cleanshot://self-timer?action=copy" }, { "key": "p", "label": "Capture Area with Timer and Pin", "type": "url", "value": "cleanshot://self-timer?action=pin" } ] }, { "key": "v", "label": "Capture Previous Area", "type": "group", "actions": [ { "key": "c", "label": "Capture Previous Area", "type": "url", "value": "cleanshot://capture-previous-area" }, { "key": "s", "label": "Capture Previous Area and Save", "type": "url", "value": "cleanshot://capture-previous-area?action=save" }, { "key": "t", "label": "Capture Previous Area and Annotate", "type": "url", "value": "cleanshot://capture-previous-area?action=annotate" }, { "key": "u", "label": "Capture Previous Area and Upload", "type": "url", "value": "cleanshot://capture-previous-area?action=upload" }, { "key": "k", "label": "Capture Previous Area and Copy", "type": "url", "value": "cleanshot://capture-previous-area?action=copy" }, { "key": "p", "label": "Capture Previous Area and Pin", "type": "url", "value": "cleanshot://capture-previous-area?action=pin" } ] }, { "key": "x", "label": "Capture Text", "type": "group", "actions": [ { "key": "c", "label": "Capture Text", "type": "url", "value": "cleanshot://capture-text" }, { "key": "n", "label": "Capture Text (No Linebreaks)", "type": "url", "value": "cleanshot://capture-text?linebreaks=false" }, { "key": "y", "label": "Capture Text (With Linebreaks)", "type": "url", "value": "cleanshot://capture-text?linebreaks=true" } ] }, { "key": "r", "label": "Record Screen", "type": "url", "value": "cleanshot://record-screen" }, { "key": "h", "label": "Open History", "type": "url", "value": "cleanshot://open-history" }, { "key": ",", "label": "CleanShot Settings", "type": "url", "value": "cleanshot://open-settings" }, { "key": "q", "label": "Quick Access", "type": "command", "value": "osascript -e 'tell application \"Finder\"\n set selectedFile to selection as alias\n set fileURL to URL of selectedFile\n set cleanShotURL to \"cleanshot://add-quick-access-overlay?filepath=\" & (POSIX path of selectedFile)\n open location cleanShotURL\nend tell'" }, { "key": "t", "label": "Open file with Annotate", "type": "command", "value": "osascript -e 'tell application \"Finder\"\n set selectedFile to selection as alias\n set fileURL to URL of selectedFile\n set cleanShotURL to \"cleanshot://open-annotate?filepath=\" & (POSIX path of selectedFile)\n open location cleanShotURL\nend tell'" } ] }Beta Was this translation helpful? Give feedback.
All reactions