• 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: Need help scripting System Prefs (Sound)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help scripting System Prefs (Sound)


  • Subject: Re: Need help scripting System Prefs (Sound)
  • From: Jamie Eastwood <email@hidden>
  • Date: Thu, 13 Mar 2003 11:45:32 +0000

tell application "System Events"
activate
end tell

tell application "System Preferences"
activate
end tell

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


tell application "System Events"
click radio button "Output" of tab group 1 of window "Sound" of
process "System Preferences"
end tell


tell window "Sound"
tell application "System Events"

select row 1 of table 1 of scroll area 1 of tab group 1 of window
"Sound" of application process "System Preferences"

end tell
end tell
_______________________________________________
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.

  • Prev by Date: Re: UI Scripting Safari
  • Next by Date: Re: Need help scripting System Prefs (Displays)
  • Previous by thread: Re: How-to get file size (data fork)
  • Next by thread: Re: Need help scripting System Prefs (Sound)
  • Index(es):
    • Date
    • Thread