gui scripting for IE5.2
gui scripting for IE5.2
- Subject: gui scripting for IE5.2
- From: "Caerwyn Pearce" <email@hidden>
- Date: Fri, 17 Jan 2003 22:20:41 +0100
- Organization: CPTech
Hi
I wonder if someone can give me a hand on syntax here.
I'm trying to click on the Print button in the Print dialog in Internet
Explorer.
I've tried this (and variations on the theme) but, same old story,
nothing seems to happen.
tell application "System Events"
click button "Print" of window "Print" of process "Internet Explorer"
end tell
For me that seems to match the Apple UI inspector, but System Events
obviously doesn't think so.
One thing that I'm not sure of is whether to say process "Internet
Explorer" or process "Explorer".
If I do a tell it has to be Internet Explorer but the process according
to UI Inspector is "Explorer".
I've tried both and the results are astoundingly similar (ie nowt
'appens) , but which should it be?
Thanks for any light shed in advance
Caerwyn
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.