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

Re: Can't turn off screen savers in System Preferences


  • Subject: Re: Can't turn off screen savers in System Preferences
  • From: Philip Aker <email@hidden>
  • Date: Wed, 04 Oct 2006 11:58:34 -0700

On 2006-10-04, at 10:34:50, kai wrote:

I restarted with no ~/Library/ScriptingAdditions just to make sure. It still works. I concocted the script with Bill's goal but not his code. I didn't know the value indicator had its containing slider as a supervisor so I added a 'select' command in case I had to change the focus for it to have values. But that turned out to be unnecessary.

Thanks, Philip. While I'm due to update it shortly, the machine I'm currently using is still on 10.4.6 - which probably explains our different experiences.

Nope. It's that I didn't check for the value sticking across a restart (because I manually reset it back to my original setting) after running the script. So it really is a bug:


# 4765727
SCRIPT: System Events/System Preferences setting value indicator broken

Can you duplicate?

For this particular job, though, I'd personally still opt for the rather less obtrusive shell approach that I suggested previously - or even a Property List Suite equivalent:

Yes, I agree and personally I prefer those techniques because they are more portable across scripting languages. My main interest here was the slider functionality because so far, I haven't used them in my own code or in scripting and examining Apple's approach can be informative for AX... in general.


Philip Aker
email@hidden
_______________________________________________
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


References: 
 >Can't turn off screen savers in System Preferences (From: Bill Cheeseman <email@hidden>)
 >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: Philip Aker <email@hidden>)
 >Re: Can't turn off screen savers in System Preferences (From: kai <email@hidden>)

  • Prev by Date: Re: get properties treating variable as literal
  • Next by Date: Re: get properties treating variable as literal
  • Previous by thread: Re: Can't turn off screen savers in System Preferences
  • Next by thread: Re: Can't turn off screen savers in System Preferences
  • Index(es):
    • Date
    • Thread