Re: Is there a way to trigger scripts at shutdown in 10.3? why don't scripts in /Library/StartupItems run?
Re: Is there a way to trigger scripts at shutdown in 10.3? why don't scripts in /Library/StartupItems run?
- Subject: Re: Is there a way to trigger scripts at shutdown in 10.3? why don't scripts in /Library/StartupItems run?
- From: "John C. Welch" <email@hidden>
- Date: Sun, 13 Jun 2004 20:20:12 -0500
On 6/13/04 4:18 PM, "trinko" <email@hidden> wrote:
>
i wrote a little script to verify that you can have a script run all
>
the script applications it finds in a folder and then uses system
>
events to log you out. that replicates the functionality of the old
>
shutdown items folder. the only strange thing was that when i ran
>
simple little scripts--just a display dialog-- i kept getting an
>
error saying the connection was invalid, even though the scripts ran.
>
i used a try to prevent the message from showing up.
There's a way to do this, albeit tricky, via logout hooks. Mike Bombich
wrote a way to manage them a wee bit easier. Look for LoginWindow Manager on
versiontracker, I think.
john
--
Instead of throwing tomatoes, why not try lobbing the whole plant at
someone?
- Alex Welch
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.