• 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
Re: Click on Show All
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Click on Show All


  • Subject: Re: Click on Show All
  • From: Craig Sutherland <email@hidden>
  • Date: Tue, 6 Jan 2004 20:19:06 -0600

On Jan 6, 2004, at 7:46 PM, Robert Poland wrote:
Any clues on how to select the Show All window of System Preferences?
tell application "System Preferences"
activate
tell application "System Events"
tell process "System Preferences"
click button "Show All"
end tell
end tell
end tell

tell application "System Preferences" to activate

tell application "System Events"
tell process "System Preferences"
click menu item "Show All Preferences" of menu "View" of menu bar item "View" of menu bar 1
end tell
end tell

The UIElementInspector available on the GUI scripting page of the Applescript part of Apple's site is a very handy tool. You can explore different ways to access elements in the interface. In this case, it helped pinpoint the element that was scriptable with different panes active.

Craig
_______________________________________________
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.

References: 
 >Click on Show All (From: Robert Poland <email@hidden>)

  • Prev by Date: Click on Show All
  • Next by Date: Re: strange new error
  • Previous by thread: Click on Show All
  • Next by thread: Re: Click on Show All
  • Index(es):
    • Date
    • Thread