Re: setProcessName: not working
Re: setProcessName: not working
- Subject: Re: setProcessName: not working
- From: Rosyna <email@hidden>
- Date: Sat, 8 Apr 2006 02:04:57 -0700
No, I was expecting it to change the name in the Dock, the name in
Activity Viewer, and at least the name shown when calling NSLog().
Yet it changes none of these.
The docs also say it refers to the name used in error messages. But
I'm unsure to what error messages it means.
Ack, at 4/8/06, Cameron Hayne said:
On 8-Apr-06, at 4:01 AM, Rosyna wrote:
I'm trying to call [[NSProcessInfo processInfo] setProcessName:] to
the programmatically change the name of the process. However, the
name remains the same throughout the GUI. The only indication that
the process name has changed is the result of -processName shows
the new name.
The docs for '-processName' say:
"This name is used to register application defaults ..."
It seems from your reference to "throughout the GUI" that you were
expecting it to do something more.
Were you expecting this to be able to change, for example, the name
"Safari" on Safari's menu bar and in the various menu items that
refer to "Safari"? To do that, I would imagine you would have to do
a 'setTitle' on each of the relevant menu items.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
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