How to set the program name menu
How to set the program name menu
I have just acquired a Mac and been trying out PB and am wondering how I set the name of the menu that is next to the apple logo? Like when I run a PureBasic program it shows as "PureBasic.0". I searched for this on the forum and could not find it sorry.
Re: How to set the program name menu
"PureBasic.0" is only displayed as the menu text next to the apple logo when running the program from the IDE. As soon as you have compiled an .app file and you start your .app file, the menu title is changed to the name of your .app file.
Re: How to set the program name menu
It displays the filename you give it at compile time. If I rename the file it doesn't change. Is this really how we name that menu? Done by the compiler?
Re: How to set the program name menu
The name in the menu comes from the info.plist file. The item. is. called "CFBundleName".
macOS Catalina 10.15.7
Re: How to set the program name menu
Do you have any information on how to use it in PB? I googled and couldn't figure out how to use it.
Re: How to set the program name menu
If you use "create Executeable..." from the Compiler menu you will be ask for the program name and where to save it.
This name will be the name in the menu, because PB generates a info.plist file for your program.
If you want to edit this name, right click on you program an choose "show packet content", open the folder "Content" and open the "info.plist" file.
A good choice to edit .plist files is PlistEdit.
This name will be the name in the menu, because PB generates a info.plist file for your program.
If you want to edit this name, right click on you program an choose "show packet content", open the folder "Content" and open the "info.plist" file.
A good choice to edit .plist files is PlistEdit.
macOS Catalina 10.15.7
Re: How to set the program name menu
Thanks, I'm very new at Mac.