This page is dedicated to hosting non-official AppleScript scripts
that are to be used by the CodeWarrior IDE.

Download #1 is "Block Uncomment" in a StuffIt 5.5.1 file. It is a
script for uncommenting C, C++, Pascal and Java comments, and is the
full uncommenting counterpart to the official CodeWarrior script
"Block Comment". For C, if "//" has been disallowed, it will use "/*"
and "*/" for comments (which conforms to ANSI C89).

To use any of the scripts, please follow [@siddhartha77's
instructions][1], e.g. for the official "Block Comment", you:

> Go to Edit > Commands & Key Bindings...
>
> Add a New Command to any of the menus and under the Action group
> click Choose.... Go to the (Scripts) folder in your CodeWarrior
> folder and you should find a script named Block Comment. Select this
> script and assign it a New Binding.

Compatibility
Architecture: PPC

Important note: To make it work for your version of CodeWarrior, make
sure to open the script and look for the line saying:
tell application "CodeWarrior IDE 4.1.0.3"
Make sure to change "CodeWarrior IDE 4.1.0.3" (which is CodeWarrior
Pro 6 fully updated) to whatever is the name of the app of your
CodeWarrior IDE version.

Uncommenting ANSI C89 code tested and confirmed working on CodeWarrior
Pro 6.3 on Mac OS 9.2.2 on Mac mini G4 1.5GHz model. Same for "//"
comments in C++. Should work the same in Java and in C projects that
allow "//".

Uncommenting Pascal code was not tested directly, but it is based on
the main logic and algorithm that is used to uncomment ANSI C89 code,
which WAS tested. (Please let us know in the comments if you run into
issues uncommenting your Pascal code with this.)

  [1]: http://macintoshgarden.org/forum/c-compilers-mac-vs-c-standards#comment-105167