• 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: Shut Down Folder in OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shut Down Folder in OS X?


  • Subject: Re: Shut Down Folder in OS X?
  • From: Andrew Oliver <email@hidden>
  • Date: Thu, 03 Apr 2003 00:24:15 -0800

Do you really want shutdown actions, or log out actions?

There's a subtle difference. A user can log out without shutting down the
system.

If you want log out items, consider the logoutHook in the shell.

Create a script to do whatever you want, and add it to the system
preferences.

For example, if the script is called /etc/logout.sh

sudo defaults write com.apple.loginwindow LogoutHook /etc/logout.sh


Then the script will be run as a user logs out.

I don't know of any mechanism for a true 'shutdown' item, although I'm
guessing there's some manipulation of the standard startup items system
since each startup item has rules for 'start' and 'stop' parameters. Maybe
someone else can enlighten me.

Andrew
:)

On 4/2/03 5:22 PM, "Jay" <email@hidden> wrote:

> Does anyone know if there's a way in Unix to do what the Shut Down
> Folder used to do?
>
> Basically, I'm trying to figure out a way to display a dialog when the
> user shuts their machine down (in OS X) which will give them the
> opportunity to back up files if they've forgotten.
>
> Thanks for your help.
>
> Jay
> _______________________________________________
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Shut Down Folder in OS X?
      • From: Paul Reilly <email@hidden>
References: 
 >Shut Down Folder in OS X? (From: Jay <email@hidden>)

  • Prev by Date: Re: Converting PS to PDF
  • Next by Date: Re: Registering Asanté 590 SCSI card
  • Previous by thread: Shut Down Folder in OS X?
  • Next by thread: Re: Shut Down Folder in OS X?
  • Index(es):
    • Date
    • Thread