You can even combine the two, and use AppleScript from the OSX command line, as explained here:
I didn't see this mentioned in the thread above, so I've decided to add this here.
You can even combine the two, and use AppleScript from the OSX command line, as explained here:
I didn't see this mentioned in the thread above, so I've decided to add this here.