• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wake Screen From Sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Wake Screen From Sleep (From: email@hidden)
 >Re: Wake Screen From Sleep (From: email@hidden)

  • Prev by Date: Re: Wake Screen From Sleep
  • Next by Date: Re: wait for Quicktime X export
  • Previous by thread: Re: Wake Screen From Sleep
  • Next by thread: Scripting Data Detectors in Mail
  • Index(es):
    • Date
    • Thread