If I want to make a screen capture (a.k.a. printscreen), I use “Command-Shift-3” to make a full-screen capture. If I want to capture part of my screen, I use “Command-Shift-4”. (For those who didn’t know that)
Is it possible to use this functionality or something alike from Applescript?
/usr/sbin/screencapture has (almost) the same functionality
That one can be “do shell” scripted.
I’ll try it.
tell application “System Events” to keystroke “#” using command down
tell application “System Events” to keystroke “$” using command down
for some reason, I can’t get ASS to recognize both command and option down, but this work around has worked well for me.