I want to change SnapClip keyboard shortcut, because it is too hard to type. I want to use Function-key. I tried this code but it dont work. command+shift+5 is current shortcut which takes screen shot using SnapClip:
tell application "System Events" to (keystroke "5" using {command down, shift down})
Butler (free), CE Quickeys (cost), FastScript Lite (Free) if you calling an Applescript. Anyway there nothing it does that the can’t do with UNIX capturescreen. May set JPG compression level you can’t.
do shell script "screencapture -mWix /directory/filename.png"
you would need a folder named directory in harddisk root for above to work.
You can see the capturescreen option here.
do shell script "man -t screencapture | open -f -a /Applications/Preview.app"
This fails. It dont create screenshot file. I think its because spaces in path?
set what to "/Users/" & (system attribute "USER") & "'/folder one/folder two/'" & (do shell script "date +'%H %M %S'") & ".png"
do shell script "screencapture -Wim " & what
set what to quoted form of ("/Users/" & (system attribute "USER") & "/folder one/folder two/" & (do shell script "date +'%H %M %S'") & ".png")
do shell script "screencapture -Wim " & what
I tried to find a way to save short piece of text to some EXIF/IPTC-tag (not to Finder Comment) but i failed. I need to save own comment somewhere inside PNG picture.