Skip to content

Instantly share code, notes, and snippets.

@sulram
Created May 24, 2014 22:51
Show Gist options
  • Save sulram/9158e1477d90482feecc to your computer and use it in GitHub Desktop.
Save sulram/9158e1477d90482feecc to your computer and use it in GitHub Desktop.

Apple Scripts for Alfred

ImageMagick

tell application "Finder"

set myWin to window 1

  set theWin to (quoted form of POSIX path of (target of myWin as alias))

  do shell script "cd " & theWin & "; /usr/local/bin/convert *.png -append -scale 50% scaled-stacked.png"

end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment