>My app does some processing at quit time that can take a few minutes, so I
>thought it would be nice to remove the gui from the user¹s attention so they
>don¹t think they can still interact with the program just because there is a
>window and a menu visible. So, I hide the main window and the menubar. Then,
>I bring Finder to the front. The only thing left is the application¹s icon
>in the command-tab list and the Dock, and the entry in the Force Quit
>Applications list.

Is this work you could do with a non-GUI tool that launches as the app quits?  
Unix style tools or apps (the kind one can launch from the Terminal command 
line) don't have dock icons nor do they appear in the command-tab list.  You'd 
still have other potential issues to worry about (like if your user restarts 
your main app while the previously-quit tasks are running, or what happens if 
multiple quitting tasks are going).  

If it were me, I'd try to avoid anything that delays quitting (because that 
could delay a shutdown or reboot, severely annoying your customer).  

Better yet, figure out a way to do your task while the app is running (e.g. if 
it's sitting idle for a few minutes?).


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to