Ned Deily wrote:
The name that shows up in the menu is derived by OS X from the application name in the executing application bundle.

I found a hackish way to change it at run time while
working on PyGUI, but it requires using PyObjC:

  from Foundation import NSBundle

  def change_application_name(new_name):
    #  Arrange for the application name to be used as the title
    #  of the application menu.
    ns_bundle = NSBundle.mainBundle()
      if ns_bundle:
        ns_info = ns_bundle.localizedInfoDictionary()
        if not ns_info:
          ns_info = ns_bundle.infoDictionary()
        if ns_info:
          if ns_info['CFBundleName'] == "Python":
            ns_info['CFBundleName'] = new_name

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to