GUI Scripting
GUI Scripting
- Subject: GUI Scripting
- From: Philip Aker <email@hidden>
- Date: Mon, 20 Jan 2003 10:42:44 -0800
I wrote recently:
If you have the new UI scripting installed you can use something like:
tell application "System Events"
tell process "Dock"
click button "the name of my window minimized in the Dock"
end tell
end tell
Ya know, since "tell application System Events" seems to be required
for all of the new facilities, it seems to me that it would be easier
if all we had to do was make a call like:
tell UI process "Dock"
click button "so 'n so"
end
where the built-in 'UI process' (or whatever) would save the double
tell (at least superficially). This could also mean that the underlying
mechanism could change to suit low level implementation things that we
might not necessarily be concerned with.
Philip Aker
http://www.aker.ca
_______________________________________________
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.