Re: Toggle Screensaver
Re: Toggle Screensaver
- Subject: Re: Toggle Screensaver
- From: Mr Tea <email@hidden>
- Date: Sat, 18 Feb 2006 01:22:44 +0000
This from Adam Bell - dated 17/2/06 20.12:
> do shell script "pmset displaysleep 0 disksleep 0" user name "shortNameHere"
> password "pwHere" with administrator privileges
...and this from John C. Welch - dated 17/2/06 20.13:
> Check out the options available in:
>
> /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/
> systemsetup
Thanks for these suggestions, chaps (I liked your 'teach a man how to
fish...' approach, John), but you are pointing me towards options for
display sleep, rather than screensaver activation.
My screensaver is set to come on fairly promptly most of the time (because
my crappy samsung lcd monitor gets chronic, albeit temporary, burn-in after
about five minutes of displaying the same thing). A quick shake of the mouse
dismisses the screensaver far more quickly than it wakes a sleeping monitor,
so having the display go to sleep if I scratch my chin for too long is not
an attractive option.
I shall be putting the stuff you've both provided to good use because, in
the context I have in mind, when I turn automatic screensaver activation off
it would be handy to simultaneously turn automatic display sleep on. And
vice versa. So I've got half the deal sorted out now, but not the
screensaver bit...
[For the record, the reason I'm after a quick way to disable/enable the
screensaver engine is because I need to turn it off when using Palm VNC to
access my desktop machine. I use a set of wireless headphones with a
transmitter plugged into the computer to listen to iTunes around the house,
and my wireless-enabled Palm handheld serves as a remote controller, letting
me select from playlists, mounted CDs or favourite radio streams, skip
forward or back, rate tracks (all this using an AppleScript-powered iKey
palette), and view information about the currently playing track or stream
(via a 24U Osax message window displayed just below the iKey palette).
Despite all this byzantine complexity, the setup works reliably and exactly
the way I want it to. If I could just get this screensaver thing sorted out
it would be perfection itself. I love you, AppleScript.]
Nick
pp Mr Tea
--
_______________________________________________
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