Go Back   The macosxhints Forums > OS X Help Requests > AppleScript



Reply
 
Thread Tools Rate Thread Display Modes
Old 03-29-2012, 07:44 PM   #1
coyq
Prospect
 
Join Date: Jul 2011
Posts: 6
Unattended monitor wake up?

I have OS X (10.6.8) configured to put my displays to sleep after X minutes, and also lock the screen. When I come back and kick the side of my Pro to wake it up (er, gently tap the mouse), my cantankerous old 30" main display takes a good couple of minutes to warm up and shake the flickers out. The warming up, I can take, but the flickers drive me bananas.

Sure, I need a new monitor soon, but in the meantime, I pretty much always roll up to the computer at the same time every day. Is there any way, while the screen is locked and the system is unattended, to force the displays to wake up? Can Applescript (via sudo I imagine...) change the system preference for putting the displays to sleep (if that'd even work), or somehow simulate some user input to wake them up?

From there, it's trivial for me to throw this into a cron job to run at the times of the day I usually come in, so I don't need a full solution, just a way to wake up the displays from Applescript/command line.
coyq is offline   Reply With Quote
Old 03-29-2012, 08:12 PM   #2
fracai
MVP
 
Join Date: May 2004
Posts: 2,094
Try this: http://hintsforums.macworld.com/show...853#post665077

https://github.com/bigkm/SleepDisplay
fracai is offline   Reply With Quote
Old 03-30-2012, 02:24 AM   #3
coyq
Prospect
 
Join Date: Jul 2011
Posts: 6
Yes!! That's exactly what I needed. Works perfectly. Thank you!
coyq is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.