• 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: 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.

  • Follow-Ups:
    • Re: Project Builder and scripting
      • From: Daniel Jalkut <email@hidden>
    • Re: Project Builder and scripting
      • From: Jim Crafton <email@hidden>
References: 
 >Re: Project Builder and scripting (From: Daniel Jalkut <email@hidden>)

  • Prev by Date: Re: GCC 3.3 problems
  • Next by Date: Re: Project Builder and scripting
  • Previous by thread: Re: Project Builder and scripting
  • Next by thread: Re: Project Builder and scripting
  • Index(es):
    • Date
    • Thread