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



 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 08-16-2007, 04:39 PM   #1
Lutin
Major Leaguer
 
Join Date: May 2006
Location: Paris, France
Posts: 311
Execute script when waking-up

Hi,

I'm looking for a way to execute a script when (and only when) login and waking up. My ultimate goal is to be able to run an applescript at login or when waking up that, if you have items in your ~/Public/Drop Box folder, displays a growl-message.

I looked into launchd, login hook and monitoring files such as /var/log/secure.log or /var/log/secure.log

None of those solutions worked for, eg, detecting a waking up from sleep, without a password being asked.

What would you suggest? Yes *you*, don't wait for the next one to reply!
Lutin is offline   Reply With Quote
 

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 04:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.