Re: GUI Scripting to toggle "Announce Time"?
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 11:55:49 -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
Of course, this can be done with GUI AppleScript
tell application "System Preferences" activate reveal anchor "Clock" of pane "Date & Time" tell application "System Events" tell application process "System Preferences" tell window 1 tell group 1 of tab group 1 if value of checkbox "Announce the time:" = 1 then click checkbox "Announce the time:" end if end tell end tell end tell end tell end tell
HTH,
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