Oh and fuck you too, Applescript.
A bit of a plug here: Applescript is still a completely wretched piece of vomit covered in AIDS and fail, but you can wipe a little of the fail off with Script Debugger.
Now to convince my boss to drop the dosh on it TO MAKE THE FUCKING PAIN STOP.




If you don’t like the AppleScript syntax, I really recommend to give appscript a try:
http://appscript.sourceforge.net/
It made many of my own programming tasks a lot easier.
Best regards from Germany,
Martin