The 'resume' trap
The 'resume' trap
- Subject: The 'resume' trap
- From: Lists <email@hidden>
- Date: Thu, 22 Nov 2012 11:07:09 -0800
Yesterday, I wrote a small AppleScript app to quit an application before I shut down my computer. The application Cookie would occasionally show 2 iterations in the dock on startup and I was trying to stop that (in the belief that perhaps Mt. Lion's resume feature was responsible).
The script:
try tell application "Cookie" to quit end try
tell application "System Events" to shut down
worked fine.
That is until I started up my machine today!
Now the computer starts up and immediately shuts down - Thanks to resume.
Thankfully I remembered what I did last night at 2 AM, and booted with the shift key down. Then I deleted my little app and decided that shut down applets are a bad idea.
J |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden