I’ve been trying out the new GUI Scripting at http://www.apple.com/applescript/GUI/ and I am stuck at trying to press a toolbar button.
What I want is for OmniWeb to view the current web page into the source editor and reformat it. I can get it to view the web page in the source editor but can’t get the toolbar button “Reformat” pressed. (I’m a little confused as to how the UI Element Inspector works…probably because I’m new to AppleScripting.)
This is what I have so far. Any suggestions would be great.