• 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: Writing an OSAX using Project Builder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing an OSAX using Project Builder?


  • Subject: Re: Writing an OSAX using Project Builder?
  • From: Jon Pugh <email@hidden>
  • Date: Mon, 14 Apr 2003 20:45:32 -0700

At 5:51 PM -0700 4/14/03, Christopher Nebel wrote:
>Scripting additions can only define commands, not objects, so if you want an object model, you have to make an application.

This is an interesting piece of dogma we should revisit.

After all, it was never *really* true. The real problem was the OSL, which expected an application context and used globals to register handlers and the like. If you reimplemented the OSL, you could handle objects in scripting additions, aside from the get and set events, although there are techniques available there that haven't been fully explored.

In theory, the OSL has been replaced. Presumably Cocoa has classes which handle object parsing. If these could be used in a scripting addition, then this restriction wouldn't be valid any longer.

Of course, Cocoa probably expects an application context and uses globals...

Jon
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Writing an OSAX using Project Builder? (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Palm Desktop Script 101?
  • Next by Date: Re: creator & type codes???
  • Previous by thread: Re: Writing an OSAX using Project Builder?
  • Next by thread: Palm Desktop Script 101?
  • Index(es):
    • Date
    • Thread