Re: Wake Screen From Sleep
Re: Wake Screen From Sleep
- Subject: Re: Wake Screen From Sleep
- From: Jim Tinkham <email@hidden>
- Date: Tue, 22 Dec 2009 15:46:42 -0500
I use;
activate application "Finder"
tell application "System Events"
tell process "Finder"
keystroke return
end tell
end tell
Tink
On Tue, Dec 22, 2009 at 3:11 PM,
<email@hidden> wrote:
Just following up. Is this not doable?
On Dec 18, 2009, Ted wrote:
I'm trying to find a way to wake the screen from sleep when certain events happen. I've tried the following which seems to work, but it also causes problems of it's own, especially when I'm working in
another program.
tell application "System Events"
key code 76
--This will wake the screen by "pressing" the Enter key.
end tell
Is there a better way to do this? I'm not wanting to wake from the screen saver, or even wake the computer if it's sleeping, but just wake the screen from the Energy Saver sleep.
Also, is there a way to tell if the screen is asleep and only send this command when it is?
Thanks,
Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to 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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden