I am not very good with AppleScript but I would imagine this is something quite easy for the AppleScript guru out there, I am looking to make a screenshot of a region like with doing Apple-Shift-s and feed it the ScreenShot filename to a shell script which would take care of the upload.
Thanks.
PS: I don't need the shell script part just the AppleScript one.
Best Answer
simply run shell command:
this will start screencapture in interactive mode (selecting region). See
screencapture -h
orman screencapture
If you realy need run the screencapture command from the applescript just use:
you can test the applescript from shell: