Re: disable force quit
Re: disable force quit
- Subject: Re: disable force quit
- From: Isaac Sherman <email@hidden>
- Date: Thu, 08 Aug 2002 22:31:03 -0400
on 8/8/02 5:51 PM, the method -(id)email@hidden:(id) sender:@"Cameron
Hayne"; returned:
>
On Thursday, August 8, 2002, at 01:11 pm, Rhon Fitzwater wrote:
>
> I know there is no way of being able to quit it all around, via the
>
> kill command, I just want my program to not show up in the force quit
>
> list when I do a cmd opt esc. I know there is a way to do this
>
> somehow???
>
>
All you have to do is set the
>
'ThisApplicationIsMoreImportantThanAllTheOthers' flag to 1 in your
>
app's info.plist. :^)
>
Seriously: there is no way to do this. And that is as it should be. The
>
user should be in control.
Cocoa-wise, you'd have to remove the icon from the dock. From my
observation, if there's no icon representing the program as running (ie.,
minus the little arrow that shows it as running) in the dock, there's no
force-quit option. The tricky part is re-writing your app without a GUI,
and I believe launching it using NSWorkspace LaunchApplication: showIcon:
AutoLaunch: might work, but I've never gotten it to hide the icon properly.
I do believe there might be a way; the dock is not force-quittable via the
cmd-opt-esc window, but nothing stops Process Viewer. Mwahaha!
--
Isaac Sherman
MotaSoft Software
http://homepage.mac.com/huperzoevs/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.