Re: menu-free app
Re: menu-free app
- Subject: Re: menu-free app
- From: Greg Herlihy <email@hidden>
- Date: Thu, 08 Dec 2005 04:55:11 -0800
- Thread-topic: menu-free app
To make a "menu-free" app just edit the application's info.plist file. Add a
LSUIElement key with the value of "1". Doing so indicates that the
application is an "agent" application, so no menu bar will be displayed.
Greg
On 12/8/05 4:32 AM, "Duncan Alexander Oliver" <email@hidden>
wrote:
>
To change the main Nib file, you have to get info (command-i) on the
>
project's target in Xcode. There's a tab called properties with the
>
name of the main Nib file in it. I haven't try changing it or making
>
a menu-less program, so I can't tell you what happens after that.
>
Hope this helps.
>
---
>
Duncan Oliver
>
email@hidden
>
>
On Dec 8, 2005, at 5:50 AM, Daniel Child wrote:
>
>
> Hi again,
>
>
>
> I am still looking for a way to set up a menu-free app. I thought
>
> this might help:
>
>
>
>
>
> #import <Cocoa/Cocoa.h>
>
>
>
> int main(int argc, const char *argv[])
>
> {
>
> [NSApplication sharedApplication];
>
> [NSBundle loadNibNamed:@"TestPanel" owner:NSApp];
>
> [NSApp run];
>
> return 0;
>
> }
>
>
>
> Unfortunately, the execution gets canceled because there is "no
>
> launchable application to run." Does anyone know what I am missing?
>
> Essentially, I want to launch a helper application that contains a
>
> window with a bunch of useful tools. I'm using ProjectBuilder and
>
> 10.2.8. Thanks.
>
>
>
> Daniel
>
>
_______________________________________________
>
Do not post admin requests to the list. They will be ignored.
>
Cocoa-dev mailing list (email@hidden)
>
Help/Unsubscribe/Update your Subscription:
>
>
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden