• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a way to trigger scripts at shutdown in 10.3? why don't scripts in /Library/StartupItems run?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Is there a way to trigger scripts at shutdown in 10.3? why don't scripts in /Library/StartupItems run? (From: trinko <email@hidden>)

  • Prev by Date: Re: Replace characters in filename
  • Next by Date: Re: what's going on? Image Events...
  • Previous by thread: Re: Is there a way to trigger scripts at shutdown in 10.3? why don't scripts in /Library/StartupItems run?
  • Next by thread: [ANN] June Boston AppleScript User Group Meeting
  • Index(es):
    • Date
    • Thread