krypted.com

Tiny Deathstars of Foulness

Forgot to save the source code of those AppleScripts in a place you can find it again before you compiled? Quick and dirty, provided you didn’t save it as ReadOnly, you can grab the source of an AppleScript using osadecompile. Just feed it the app (not the applet or the main.scpt btw), as I do with /Users/charlesedge/Documents/mycompiledapp.app below: osadecompile¬† /Users/charlesedge/Documents/mycompiledapp.app Easy peasy.

August 21st, 2016

Posted In: Mac OS X, Mac OS X Server, Programming