ashkrosh
-
Posts
1 -
Joined
-
Last visited
Reputation Activity
-
ashkrosh reacted to Andrew in NSApplescript vs. Run Script
It's the latency you may see as different - the 'compiled' option will keep the AppleScript pre-compiled in memory and run immediately... so AppleScript will start to run in a fraction of a second after asking it to.
Without compiling (or using Run Script with osascript), it has to compile the script before running it. On modern Macs, this is still pretty fast though.