• 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: Cameron Hayne <email@hidden>
  • Date: Sat, 8 Apr 2006 04:55:20 -0400

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.


--
Cameron Hayne
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
  • Follow-Ups:
    • Re: setProcessName: not working
      • From: Rosyna <email@hidden>
References: 
 >setProcessName: not working (From: Rosyna <email@hidden>)

  • Prev by Date: setProcessName: not working
  • Next by Date: Re: setProcessName: not working
  • Previous by thread: setProcessName: not working
  • Next by thread: Re: setProcessName: not working
  • Index(es):
    • Date
    • Thread