Re: Can't turn off screen savers in System Preferences
Re: Can't turn off screen savers in System Preferences
- Subject: Re: Can't turn off screen savers in System Preferences
- From: Brett Conlon <email@hidden>
- Date: Wed, 4 Oct 2006 11:15:21 +1100
Hiya Bill,
I'm running 10.4.6 and it does the same thing for me. Looks like one of
those incidences where the UI scripting is visually working but not
affecting what's under the hood. I have the same trouble in the
QuarkXPress Print dialog. If I don't use Extra Suites to move the mouse
then click, buttons appear to be being pressed and window tabs change but
the windows are empty and nothing happens.
Sorry I don't have a solution for you. Is there a value in a preference
you could adjust instead?
Cheers,
Coj
Bill Cheeseman <email@hidden>
Sent by:
applescript-users-bounces+brett.conlon=email@hidden
04/10/06 09:24 AM
To
AppleScript-Users Mail <email@hidden>
cc
Subject
Can't turn off screen savers in System Preferences
I'm trying to set the "Start screen saver" slider in the Desktop & Screen
Saver pane of System Preferences to Never using GUI Scripting. I see the
slider's value indicator move to the Never position, but when I quit
System
Preferences and re-launch it, the slider reverts to the old slider
setting.
Has anyone found a solution for this?
Here's my script (beware the screen wrap in line 1), after activating
System
Preferences:
tell application "System Preferences" to set current pane to pane id
"com.apple.preference.desktopscreeneffect" -- Screen Saver
tell application "System Events"
tell process "System Preferences"
tell window 1
click radio button "Screen Saver" of tab group 1
tell slider 1 of group 1 of tab group 1 to set value to 361.0
end tell
end tell
end tell
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden