• 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: Little Baby Steps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little Baby Steps


  • Subject: Re: Little Baby Steps
  • From: "Neal A. Crocker" <email@hidden>
  • Date: Mon, 14 Jan 2002 21:05:58 -0800

On Sunday, January 13, 2002, at 01:57 AM, Neal A. Crocker wrote:

What nobody seems to have suggested is that you can create an empty project in Project Builder and customize it into a project for building a plain vanilla applescript product.

I don't think you can do this in any reasonable way. Sure you can get PB to compile a script into your target somewhere, but it won't run or debug it without some C code to get things started. Or have I missed something?

I don't know the solution to these problems, but I can thinks of two things to investigate that might help solve them. First, project builder has something called an "OSA Debugger". I don't know anything about it, but it seems to be available as an alternative to gdb for debugging a project's product. Which debugger is used is part of the definition of a target in a project. It might be usable for stepping through and debugging a compiled script. Second, another part of the definition of a target lets you associate an executable with it which is launched for purposes of debugging the product. You could launch an application like Script Editor to debug your script, or you could launch the executable file for the command line command "osascript". However you end up arranging for the script to be debugged, the necessary target features could become part of whatever template you utlimately create.

Neal.

--
bill


  • Prev by Date: Re: Is Quark AS Attachable?
  • Next by Date: Re: Is Quark AS Attachable?
  • Previous by thread: Re: Little Baby Steps
  • Next by thread: Re: URL Access Scripting [Off list]
  • Index(es):
    • Date
    • Thread