Re: __MyCompanyName__
Re: __MyCompanyName__
- Subject: Re: __MyCompanyName__
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 30 Sep 2001 21:51:53 +0100
On Sunday, September 30, 2001, at 09:43 PM, Dustin Mierau wrote:
Is '__MyCompanyName__' defined somewhere? I would like to change it so
I don't have to change it every time I create a new class. Call me
lazy...
http://www.cocoadev.com/index.pl?TipsAndTricks says:
Re: Project Templates above
Better than changing the apple supplied templates. Create a mirror of
/Developer/ProjectBuilder Extras/ within your home folder and copy the
templates you're interested in changing into it. Rename your versions.
Here is a list of recognized variables which PB will replace
DATE -- current date (using NSCalendarDate? format "%x")
DIRECTORY -- full path of directory in which the new file is being
created
FILENAME -- full file name, exactly as typed by the user
FILEBASENAME -- file name without extension
FILEBASENAMEASIDENTIFIER -- same as FILEBASENAME, but mangled to a
legal C-style identifier
FILEEXTENSION -- extension of file name
FULLUSERNAME -- full name of the logged-in user
PROJECTNAME -- name of project in which file is created, "" if no
project
PROJECTNAMEASIDENTIFIER -- same as PROJECTNAME, but mangled to a
legal C-style identifier
TIME -- current time (using NSCalendarDate? format "%X")
USERNAME -- account name of the logged-in user
--DaveHenderson
-- Finlay