Re: Project Builder and scripting
Re: Project Builder and scripting
- Subject: Re: Project Builder and scripting
- From: Jim Crafton <email@hidden>
- Date: Sun, 6 Jul 2003 17:53:00 -0400
On Sunday, July 6, 2003, at 05:23 PM, Prachi Gauriar wrote:
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.
Thanks - I think I must have either copied the wrong folder or put it
at the wrong level - I see the User Scripts menu now. The HeaderDoc was
exactly the kind of stuff I was looking for, thanks !
Jim
_______________________________________________
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.