Re: Embedding a scripting language into Cocoa app
Re: Embedding a scripting language into Cocoa app
- Subject: Re: Embedding a scripting language into Cocoa app
- From: Matt Neuburg <email@hidden>
- Date: Sun, 6 Oct 2002 09:19:43 -0700
On Thu, 3 Oct 2002 08:53:27 -0700, Brad Werth <email@hidden> said:
>
I am creating an app in Cocoa that I want to make fairly extensible.
>
This app (a game) will have a number of fairly arbitrary code pieces to
>
manipulate some specific objects in my game world. I want to avoid
>
hard-coding these pieces as Objective C, since I want the user to be
>
able to add additional behaviors later -- confined to manipulating
>
those specific objects.
>
>
Ideally, I would like to use Javascript as a scripting language
If your user has installed the free JavaScriptOSA component from LateNight
Software, then JavaScript is available system-wide as a scripting language.
You can call it just as you would AppleScript, and if your app is
scriptable, it can manipulate your app. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.