Mac: Applescript

From ReceptiveIT
Revision as of 15:39, 22 January 2010 by Alex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I have just started playing with ApplesScript, and I wanted to document some common things that I get asked to do.

Getting Started

You will find the Script Editor in the Utilities menu of OSX

Saving Executable Scripts

When you click on File -> Save As you should save the script with the file format of Application, and it might be a good idea to untick Startup Screen for silent execution


Opening a network location

tell application "Finder"

open location "smb://server/share"

end tell