Re: Dealing with Sliders...
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