What I'm suggesting is that you create -- with Script Editor -- the script that does what you want. Test it by running it. Once you're happy with it, save it as a .scpt, and run it with osascript (e.g. osascript the-script-name.scpt).
__________________
--Dave Nanian
|