RE: Changing app menu name
RE: Changing app menu name
- Subject: RE: Changing app menu name
- From: "Tommy Braas" <email@hidden>
- Date: Fri, 5 Oct 2001 10:06:54 -0700
OK,
More info...
I have this authentication front-end of an installer that needs to run authenticated.
Instead of customizing the authentication software (AS) for every installer that needs it to run properly, I want to be able to pick the installer name up and present that as the name of the (AS).
I would be nice to be able to add a line or two into the (AS) as opposed to adding several methods in the build process of the installer.
Thank your for your time and concern!
Regards,
\tommy
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of R. Tony Goold
>
Sent: Friday, October 05, 2001 9:20 AM
>
To: Tommy Braas
>
Cc: Finlay Dobbie; email@hidden
>
Subject: Re: Changing app menu name
>
>
>
I believe, if you read further, that Finlay already answered your
>
question:
>
There is no provision for doing it.
>
>
However Finlay's question still stands, and a perfectly good one at that:
>
Why do you want to do it? I'm having a hard time thinking of any reason
>
for doing it which doesn't have a better solution. There are two which
>
come to mind immediately:
>
>
1. You've taken advantage of 255 character filenames to write a small
>
essay as the name of your application, but you acknowledge this
>
takes up a
>
significant amount of space in the menu. Solution: Give your
>
application a
>
more compact name.
>
>
2. You want to deceive the user and play some sort of trick on them.
>
Solution: Don't.
>
>
It's entirely possible you've found some completely overlooked case, but
>
we won't know that until you tell us what it is you're trying to do :-)
>
>
>
Cheers,
>
Tony
>
>
>
On Friday, October 5, 2001, at 10:46 , Tommy Braas wrote:
>
>
> Finlay,
>
>
>
> Right, I didn't mean the Finder menu... Sorry about the confusion! I
>
> meant the main menu bar
>
> of my application of course...
>
>
>
> So, the question still stands! How do I programmatically change
>
the name
>
> of my application in the menu bar?
>
>
>
> Thanks!
>
>
>
> \tommy
>
>
>
>
>
>>> How do I do that?
>
>>
>
>> You don't. There is no provision for doing it because it should not be
>
>> done. Why on earth would anyone ever want to do so?
>
>>
>
>>> I have tried using both the IBOutlet I created for the menu and [ [
>
>>> [ NSApplication sharedApplication ] mainMenu ] setTitle: @"MyName" ].
>
>>>
>
>>> None of those work. Furthermore it is not picking up the
>
changes in the
>
>>> menu name that I make to the menu in IB. What am I doing wrong?
>
>>
>
>> Attempting it in the first place. :-)
>
>>
>
>> -- Finlay
>
> _______________________________________________
>
> cocoa-dev mailing list
>
> email@hidden
>
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
_______________________________________________
>
cocoa-dev mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev