• 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: Dealing with Sliders...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dealing with Sliders...


  • Subject: Re: Dealing with Sliders...
  • From: Adam Bell <email@hidden>
  • Date: Fri, 10 Feb 2006 19:23:25 -0400

Thank you Kai - I've changed the script that came from to reflect the new names (although the old one, written in 10.3 days, continued to work)

Adam

On 2/10/06, kai <email@hidden> wrote:

On 10 Feb 2006, at 22:27, Adam Bell wrote:

> do shell script "pmset dim 0 spindown 0" user name "ShortName"
> password "MyPW" with administrator privileges

While the "dim" argument changes the display sleep setting (slider
2), "spindown" determines whether or not the "Put the hard disk(s) to
sleep when possible" checkbox is checked. The "sleep" argument should
actually be used to change the computer sleep settings (slider 1).

It may also be worth noting that, while the "dim" and "spindown"
arguments still work, they have been replaced in Tiger by
"displaysleep" and "disksleep".

So to achieve similar results to the GUI script I posted, I'd
probably use something like:

---------------

do shell script "pmset sleep 0 displaysleep 0" user name "ShortName"
password "MyPW" with administrator privileges

---------------

---
kai


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (

This email sent to email@hidden



--
Some minds remain open long enough for a truth to both enter and leave without processing.
 _______________________________________________
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: 
 >Dealing with Sliders... (From: email@hidden)
 >Re: Dealing with Sliders... (From: kai <email@hidden>)
 >Re: Dealing with Sliders... (From: kai <email@hidden>)
 >Re: Dealing with Sliders... (From: Adam Bell <email@hidden>)
 >Re: Dealing with Sliders... (From: kai <email@hidden>)

  • Prev by Date: Re: Dealing with Sliders...
  • Next by Date: Re: Another Shell Script question ftp
  • Previous by thread: Re: Dealing with Sliders...
  • Next by thread: Re: Dealing with Sliders...
  • Index(es):
    • Date
    • Thread