Re: wake screen from sleep
Re: wake screen from sleep
- Subject: Re: wake screen from sleep
- From: Håvard Graudo <email@hidden>
- Date: Tue, 9 Aug 2005 19:26:54 +0200
Someone sendt me this suggestion off-list:
tell application "System Events"
keystroke space
end tell
It works, but will direct a space towards whatever happens to be
frontmost. To make it Mostly Harmless I made a Finder window to
receive the space. It is not elegant, but serves the purpose. Here is
what I use (edited):
tell application "Finder"
activate
make new Finder window
tell application "System Events"
keystroke space
end tell
close window 1
I would prefer a "keystroke <none> using command" or "set sleep of
every screen to false"
Håvard
Den 9. aug. 2005 kl. 00:50 skrev Eric Geoffroy:
Hi,
I have a very similar need. Here's something I was experimenting
with. If you figure something out, let me know.
- Eric
on idle
tell application "System Events"
log out
-- keystroke "." using command down
delay 1
key code 53 -- escape key
return 110
end tell
end idle
On Aug 5, 2005, at 1:42 PM, Håvard Graudo wrote:
How do I wake the screen from sleeping?
I have some Macs running stay-open scripts watching hot-folders on
a server. The Macs don't deep sleep, only screen is black (no
password on wake).
When the script finds a file to work on I would like to wake the
screen.
Håvard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
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:
This email sent to email@hidden