Thread View: comp.sys.mac.programmer.codewarrior
4 messages
4 total messages
Started by Diller
Sun, 24 Mar 2002 23:01
modify file name of stationary for new project
Author: Diller
Date: Sun, 24 Mar 2002 23:01
Date: Sun, 24 Mar 2002 23:01
21 lines
2315 bytes
2315 bytes
Is this capability built into the newer versions of CW Mac? I like the names of certain files in a new project to reflect the name of that project. So it would be nice if the IDE did the rename when creating the project files. The logical extension of this is to rename the targets in the project preferences. I suppose this could be done with AppleScript. Does anyone have a better scripting reference than that included with CW 5? How about just a comprehensive list of the all 'set' property names? The finishing touch would be to modify the .html and/or .java content for a new code or codebase in a Java applet project, but that's probably pushing it... Thanks, Diller -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Re: modify file name of stationary for new project
Author: MW Ron
Date: Mon, 25 Mar 2002 03:57
Date: Mon, 25 Mar 2002 03:57
28 lines
2197 bytes
2197 bytes
In article <dryan-53BF0A.15012024032002@corp.newsfeed.com>,
Diller <dryan@slonet.org> wrote:
>Is this capability built into the newer versions of CW Mac? I like the
>names of certain files in a new project to reflect the name of that
>project. So it would be nice if the IDE did the rename when creating
>the project files.
>
>The logical extension of this is to rename the targets in the project
>preferences. I suppose this could be done with AppleScript. Does
>anyone have a better scripting reference than that included with CW 5?
>How about just a comprehensive list of the all 'set' property names?
>
>The finishing touch would be to modify the .html and/or .java content
>for a new code or codebase in a Java applet project, but that's probably
>pushing it...
If you go into the stationery and remove the output file names then the
output files will be based upon the name of the project.
Ron
--
TOP PICK HandHeld Computing - issue 4.5
"The best overall development tool for the Palm OS"
Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Re: modify file name of stationary for new project
Author: Diller
Date: Wed, 27 Mar 2002 22:21
Date: Wed, 27 Mar 2002 22:21
32 lines
2876 bytes
2876 bytes
Back on Sunday, when he would rather have been at the opera, Ron said: >In article <dryan-53BF0A.15012024032002@corp.newsfeed.com>, > Diller <dryan@slonet.org> wrote: > >>Is this capability built into the newer versions of CW Mac? I like the >>names of certain files in a new project to reflect the name of that >>project. So it would be nice if the IDE did the rename when creating >>the project files. > >If you go into the stationery and remove the output file names then the >output files will be based upon the name of the project. I'm afraid you went a little too quick there. How do I remove the output file names? The IDE won't let me save the preferences with null target names. Removing the file name (not suffix) in the stationary folder would be problematic because there is more than 1 file with the same suffix. Besides, I tried a simple case with unique suffixes and the IDE didn't rename anything. Is there anything magic about the standard stationary folders? I use some of my own. Is there any more info on scripting? A list of 'set' property names would save a lot of guesswork. Thanks, Diller -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Re: modify file name of stationary for new project
Author: MW Ron
Date: Thu, 28 Mar 2002 15:12
Date: Thu, 28 Mar 2002 15:12
52 lines
3189 bytes
3189 bytes
In article <dryan-5D2957.14212427032002@corp.newsfeed.com>,
Diller <dryan@slonet.org> wrote:
>Back on Sunday, when he would rather have been at the opera, Ron said:
>
>>In article <dryan-53BF0A.15012024032002@corp.newsfeed.com>,
>> Diller <dryan@slonet.org> wrote:
>>
>>>Is this capability built into the newer versions of CW Mac? I like the
>>>names of certain files in a new project to reflect the name of that
>>>project. So it would be nice if the IDE did the rename when creating
>>>the project files.
>>
>>If you go into the stationery and remove the output file names then the
>>output files will be based upon the name of the project.
>
>
>I'm afraid you went a little too quick there. How do I remove the
>output file names? The IDE won't let me save the preferences with null
>target names.
You need to read what I wrote, I wasn't saying that any files other than
the output file name. There is no way to do Target Names automatically
nor will the Source Files created with the Wizards have names by
default. Only the output file name will be based upon your project's
name if that is left blank.
> Removing the file name (not suffix) in the stationary
>folder would be problematic because there is more than 1 file with the
>same suffix. Besides, I tried a simple case with unique suffixes and
>the IDE didn't rename anything. Is there anything magic about the
>standard stationary folders? I use some of my own.
Only the output name
>Is there any more info on scripting? A list of 'set' property names
>would save a lot of guesswork.
Look in the scripting manual and use the dictionery if there is
something you would like added to the dictionary try sending a feature
request into
http://www.metrowerks.com/support/contact/
Ron
--
TOP PICK HandHeld Computing - issue 4.5
"The best overall development tool for the Palm OS"
Metrowerks, maker of CodeWarrior - "Software Starts Here"
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads