• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
GUI Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: GUI Scripting
      • From: Paul Skinner <email@hidden>
References: 
 >Re: Microsoft Word - bringing a window to the front... (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Why does the Script Editor Service do this?
  • Next by Date: Re: Need help with Mail Applescript.
  • Previous by thread: Re: Microsoft Word - bringing a window to the front...
  • Next by thread: Re: GUI Scripting
  • Index(es):
    • Date
    • Thread