• 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 & AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Project Builder & AppleScript


  • Subject: Re: Project Builder & AppleScript
  • From: Tim Bumgarner <email@hidden>
  • Date: Wed, 10 Oct 2001 12:01:02 -0400

Try the following and see if this works for you:

1. Select the "Targets" tab of the project.
2. Select a target in the left hand column. This will open the target editor for that target on the right hand side.
3. Select any of the existing build phases on the right hand side. For instance click on the "Sources" outline item.
4. Now choose "New AppleScript Build Phase" from the "New Build Phase" menu of the "Project" menu. (It should be enabled)

This will add a new build phase. If you have any AppleScripts (text files with the ".applescript" extension") added to the project (they will probably be in the "Resources" build phase) drag them into the AppleScript build phase. Any newly added scripts will automatically be added to the build phase.

In essence what happens when you now build the target, is that each .applescript file will be compiled into a .scpt with the same name that is located in the "Contents/Resources/Scripts" folder of the product. This support is primarily here in order to support AppleScript Studio.

Currently there isn't any documentation for any of this, but it will be included when Studio is released. But hopefully this will be enough to get you a little further along.

Tim Bumgarner
AppleScript Studio Engineer

On Wednesday, October 10, 2001, at 11:17 AM, David Graham wrote:

At 12:13 PM -0700 10/8/01, Christopher Nebel wrote:
Project Builder in 10.1 supports compiling AppleScripts -- just create a new AppleScript Build Phase, drag the appropriate source files in, and there you go.

Easier said than done. The menu items were all grayed out when I tried to do this. Is there any samples or documentation that show how to use PB with AppleScript?

--

:: dmgraham information solutions ... database, web & more ::

david m graham
10353 san diego mission rd., #107c, san diego, ca 92108
619.322.9698
http://www.dmgraham.n3.net
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >Re: Project Builder & AppleScript (From: David Graham <email@hidden>)

  • Prev by Date: Re: Tex-Edit, Paste clipboard?
  • Next by Date: HelpPlease!!: Running Scripts causing Garbage characters.
  • Previous by thread: Re: Project Builder & AppleScript
  • Next by thread: Re: Project Builder & AppleScript
  • Index(es):
    • Date
    • Thread