I’m new to Applescript but I’m having difficulty finding an answer to my question online…
When taking a screenshot using the system command - shift-command-4 - I’d like the resulting image to be automatically imported into DevonthinkPRO. I would normally use the the menu option “File->Import->Images (with OCR)…”
Is such a process achievable in Applescript? Specifically, can a script be activated upon shift-command-4 and the resulting saved image on my desktop be automatically imported from within DevonthinkPRO?
Model: iMac 27" retina display
Browser: Safari 601.2.7
Operating System: Mac OS X (10.10)
You can’t piggyback onto the System’s screenshot mechanism.
But there are some options.
Option 1:
Change the default location of the screenshot, and use a Folder-Actions script to do your dirty work.
Option 2:
Instead of using the System’s screenshot keyboard shortcut use a macro utility like Keyboard Maestro or FastScripts to activate your own screenshot script.
I have a simple script that runs that, because of using a retina screen, produces beautiful yet large images when doing a screen capture, resizes an image that falls into the same folder that images are saved to.