URL Scheme (deeplinks)
Starting with v1.8, Shottr supports URL Schemes that allow other apps and scripts to control certain Shottr actions. This feature enables Raycast Extensions and Alfred Workflows, and allows integrating Shottr with Shortcuts app.
Supported schemes
shottr://show
— show Shottr
shottr://grab/fullscreen
— takes a fullscreen screenshot
shottr://grab/area
— takes an area screenshot
shottr://grab/repeat
— repeats area screenshot in the same location
shottr://grab/window
— takes a window screensho
shottr://grab/scrolling
— takes a scrolling capture
shottr://grab/scrolling/reverse
— takes a reverse scrolling capture (scrolling up)
shottr://grab/delayed
— takes a screenshot with a standard delay (3s)
shottr://grab/delayed=10
— takes a screenshot with a custom delay specified in seconds
shottr://grab/append
— implements the "Add Capture" function
shottr://ocr
— initiates text recognition command
shottr://load/clipboard
— loads image from the clipboard
shottr://load/file
— opens up a file; the file cannot be passed as a url because Shottr is sandboxed, you have to pass it the file explicitly
shottr://uploads
— opens a web page that allows you to review and manage your uploads to Shottr Cloud
shottr://settings
— opens up app preferences
Actions after the screenshot
Every /grab/
command allows the parameter then
, it takes a comma separated string of values:
copy
save
edit
pin
thumbnail
Examples:
shottr://grab/fullscreen?then=save,pin
— to take a fullscreen capture, save the image and pin it on screen
shottr://grab/area?then=thumbnail
— to take an area capture and show a thumbnail