3 Replies Latest reply: Jun 19, 2012 2:47 PM by rocion
mzelmano22 Level 1 Level 1

Hi All,


I was wondering if somebody could help me. I would like to run a script when a user selects log out from the apple drop down to ask the user if they backed up their data before it allows them to log out.  I created a script that prompts you and then brings you to the logout screen but do not know how to get it to run, or something similar to run, when you select log out.  Obviously, I do not want it to run when the user has already logged out..


The other option I see that could work would be to change the message, "are you sure you want to quit all applications and log out now?" which I cannot figure out how to do.


Any help would be greatly appreciated




AppleScript, Mac OS X (10.6.8)