Re: Project Builder and scripting
Re: Project Builder and scripting
- Subject: Re: Project Builder and scripting
- From: Prachi Gauriar <email@hidden>
- Date: Sun, 06 Jul 2003 16:23:41 -0500
On Sunday, July 6, 2003, at 03:54 PM, Daniel Jalkut wrote:
Hi Jim - Project Builder today is not very scriptable. The feature
you saw is probably the "script phase" of the build, which is a
different type of scripting - it runs a script during the build
process - not during editing.
This isn't true. You can certainly run scripts on files using Project
Builder and its User Scripts capabilities. In fact, you can write Perl
scripts, shell scripts, and any other type of script that will run in
the shell.
This is not to say that Project Builder is scriptable. AFAIK, you
can't control Project Builder with scripts, but you can run scripts on
files in Project Builder based on selected text, or just simply insert
text at the cursor.
Check out the scripts in /Developer/ProjectBuilder
Extras/ExampleScripts/. Copy the contents of this folder into
~/Library/Project Builder/ and relaunch Project Builder. You'll see a
new menu called User Scripts. The examples have HeaderDoc template
insertion, Comment out selected lines, and insert accessors
declarations/definitions for Obj-C. Reading the scripts should help
you get started.
-Prachi
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.