• 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: GUI Scripting to toggle "Announce Time"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI Scripting to toggle "Announce Time"?


  • Subject: Re: GUI Scripting to toggle "Announce Time"?
  • From: Ed Stockly <email@hidden>
  • Date: Sun, 29 Jul 2007 10:12:56 -0700



OS X ignores that preference unless

1) System Preferences.app is opened
2) The Date & Time preference module is opened
3) The "Clock" Tab under D

tell
application "System Preferences"
activate
reveal anchor "Clock" of pane "Date & Time"
end tell

Works for me.

ES

=
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: GUI Scripting to toggle "Announce Time"?
      • From: Ed Stockly <email@hidden>
  • Prev by Date: Re: AppleScript-Users Digest, Vol 4, Issue 354
  • Next by Date: Re: AppleScript and shell scripting
  • Previous by thread: Re: GUI Scripting to toggle "Announce Time"?
  • Next by thread: Re: GUI Scripting to toggle "Announce Time"?
  • Index(es):
    • Date
    • Thread