rb-appscript works like a dream. and knowing Ruby its a godsend to script in ruby instead of applescript