• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Project Builder and scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Project Builder and scripting (From: Prachi Gauriar <email@hidden>)

  • Prev by Date: Re: Project Builder and scripting
  • Next by Date: Re: Setting the origin of a GC
  • Previous by thread: Re: Project Builder and scripting
  • Next by thread: Re: Project Builder and scripting
  • Index(es):
    • Date
    • Thread