Feb 21, '03 08:51:00AM • Contributed by: Anonymous
First, check the files in /Developer -> ProjectBuilder Extras -> File Templates/ and /Developer -> ProjectBuilder Extras -> Project Templates/. This is where you'll get the name of the variable you'll want to replace. Checking, you'll see that __MyGreatSoftware__ is what typically goes into the spot marked by ORGANIZATIONNAME, and there are others - such as FULLNAME (or something similar) - that you might want to change. Write them down for reference, caps and all, and head over to ~/Library/Preferences.
Once there, open com.apple.projectbuilder.plist by double-clicking it. This should open it in Property List Editor. Click once to select any item, then click "New Sibling." Name the new sibling PBXCustomTemplateMacroDefinitions, and change its type to Dictionary. It should now have a little "disclosure triangle" - turn the triangle down, and click the button that previously said "New Sibling," but now says "New Child." For the name of this new item, type ORGANIZATIONNAME (all caps, I assume - I haven't tried it without). Leave the type of this as String, and change its value on the right to whatever you want to appear instead of __MyGreatSoftware__.
And that's it! One possible use of this that I can think of: copy/paste the code in the templates that inserts the organization name, change ORGANIZATIONNAME to LICENSE, and replace the license with your license of choice - BSD, GPL, Artistic, etc.
[robg adds: As a non-programmer, I wasn't able to verify this one, but I hope it's as useful as it sounds!]
