|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | |
|
macrumors regular
Join Date: Mar 2008
Location: The Netherlands
|
Running script/application on wake from sleep?
I've been looking for a way to run a script or application every time my Mac wakes up from sleep. However it's proving to be surprisingly difficult.
The only option I seem to be able to find is SleepWatcher, which runs from the command line, I guess, and I can't seem to find any documentation on it. Well, at least none that actually gets it working. If anybody can tell me how to get it working, that'd be great too. What I actually need is for my Mac to run the following script on wake: Quote:
|
|
|
|
|
|
|
#2 |
|
Thread Starter
macrumors regular
Join Date: Mar 2008
Location: The Netherlands
|
Nobody?
|
|
|
|
|
|
#3 |
|
macrumors 68030
Join Date: Aug 2006
Location: Northern California
|
I want to do something similar. Specifically I want to quit, then re-open an application upon wake from sleep. I've installed SleepWatcher, and have a .wakup script that I've put in my home directory, but it doesn't appear to run. Can't find any documentation beyond the (unhelpful) man page.
p.s. also I'm not so sure my script works either...
__________________
2006 Mac Pro: 2.66Ghz, 6GB RAM, 8800GT, 23" ACD, Snow Leopard/Windows 7 iPhone 3GS 16GB Black Last edited by apfhex : Dec 4, 2009 at 08:56 PM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|