Posts with the tag AppleScript


Language References

Applescript Language Guide PDF | HTML

Great Tools

The AppleScript Editor shipped with Mac OS X (or XCode...) PreFab UI Browser Script Debugger 4.5 Smile

Run a Terminal Command

set hostname to ""
do shell script "ping -c1 " & hostname


  • Wikipedia...

Read on

Shortcut to Access the Preview Application from Terminal using AppleScript

If you ever wanted to open PDF, JPEG, PNG files etc.

# A simple bash script that uses Applescript to
# open multiple files in Preview. For example:
# "preview hello.png world.gif *.jpg"

if [ -z "$*" ]; then

Read on