Re: Dealing with Sliders...
Re: Dealing with Sliders...
- Subject: Re: Dealing with Sliders...
- From: kai <email@hidden>
- Date: Fri, 10 Feb 2006 23:17:12 +0000
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden