• 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
Can't turn off screen savers in System Preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't turn off screen savers in System Preferences


  • Subject: Can't turn off screen savers in System Preferences
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 03 Oct 2006 19:24:43 -0400
  • Thread-topic: 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

  • Follow-Ups:
    • Re: Can't turn off screen savers in System Preferences
      • From: Philip Aker <email@hidden>
    • Re: Can't turn off screen savers in System Preferences
      • From: kai <email@hidden>
    • Re: Can't turn off screen savers in System Preferences
      • From: Brett Conlon <email@hidden>
  • Prev by Date: Re: run script with parameters
  • Next by Date: Re: applescript archive search
  • Previous by thread: mic input level meter.
  • Next by thread: Re: Can't turn off screen savers in System Preferences
  • Index(es):
    • Date
    • Thread