0 Replies Latest reply: Jul 15, 2012 10:27 AM by seadragonzz
seadragonzz Level 1 Level 1

I have an apple script saved on my desktop as an application so all i have to do is double click it to run it.


This is the code i have:


tell application "System Events"


  log out


end tell



Very simple and it works great! However, when I run it, the dialog box still shows up asking if i want to log out. How can i make it so either the dialog box

doesnt show up and it just logs out. or make it automatically click log out for me.


thanks for the help

MacBook Pro, Mac OS X (10.7.4)