Since I often manually put a device mockup around a recent screenshot (including cleaning up the status bar) using Picsew, I would like to automate that. Unfortunately Picsew does not support Shortcuts directly, but it does support X-Callback-URL schemes.
This URL seems to partially do what I want:
picsew://x-callback-url/scroll?in=lastest&count=1&out=copy&clean_status=yes&mockup=black&delete_source=yes
When I activate it:
- runs on the last screenshot
- puts a black device mockup around that last screenshot
- cleans up the status bar
- copies the result to the clipboard
- deletes the original image without mockup.
However, what I really want is that it:
- lets me select a screenshot in Photos (activate the shortcut on a selected screenshot using the Sharing menu)
- puts a black device mockup around that selected screenshot
- cleans up the status bar
- copies the result to the clipboard
- deletes the original (selected) image without mockup.
I probably need a URL like this:
picsew://x-callback-url/scroll?in=paste&out=copy&clean_status=yes&mockup=black
In this case the shortcut should take care of copying the input to the clipboard and deleting the selected screenshot. However, I already fail at copying the input (selected screenshot) to the clipboard…
How can I do this?