2
votes
1answer
22 views

Running script through launchd with no annoying prompts

I have an applescript that checks my macbook battery and forces hibernation when it reaches a certain level, after displaying a 60 sec countdown. I've successfully set it up to run in the background ...
1
vote
2answers
222 views

Shell or Applescript to delay shutdown?

We have a workstation that gets used sporadically, and I'm trying to setup a script that backs it up during shutdown. I created a LogoutHook in com.apple.loginwindow to a 1-line bash script, that ...
0
votes
2answers
258 views

Restart OS X if an application has crashed/is not responding/beachballed?

How can I automatically restart the machine if an application has crashed in any way? It might have cleanly exited, have a quit unexpectedly error, or be frozen with the spinning beachball. I don't ...
1
vote
2answers
211 views

Need Help with an Applescript / plist

This has been a learning experience for me. Everything checks out logically to me in this script/ plist but something isn't correct. Everything runs, but then the script runs every minute which is ...
0
votes
0answers
24 views

Launch program after inactivity [duplicate]

Possible Duplicate: How can I automatically launch an application whenever the Mac goes idle? I'd like to launch an AppleScript/ App after 30 minutes of system inactivity. e.g. no cursor ...
8
votes
2answers
2k views

Automatically delete a folder daily

Is there a way to automatically have a folder deleted every day at 4am? I'm running 10.6.7.