Safari is surprisingly scriptable in some regards, and less so in others.

I wrote an app to interact with a web page and do print-to-pdfs for me in an automated way, but I unpleasantly discovered that once you get into the print dialog, you are on your own, telling safari to "press button 4 of tab 3 of control 5" sorts of commands, and those can be a PAIN to figure out. Also, the control indexes can change from build to build of safari, meaning if a machine accidentally gets a safari update, the applescripting for it can blow up and force you to put back on the gloves to figure out the new indexes.


I work for the Department of Redundancy Department