• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setProcessName: not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: setProcessName: not working
      • From: Eric Schlegel <email@hidden>
References: 
 >setProcessName: not working (From: Rosyna <email@hidden>)
 >Re: setProcessName: not working (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Re: setProcessName: not working
  • Next by Date: Re: Getting NSData out of an NSImage
  • Previous by thread: Re: setProcessName: not working
  • Next by thread: Re: setProcessName: not working
  • Index(es):
    • Date
    • Thread