Applescriptable RR app?

Ken Ray kray at sonsothunder.com
Tue May 4 11:02:35 EDT 2004


Yes you can, Graham. The app you build with RR will automatically come with
a dictionary that includes support for "do script" and "evaluate", but you
can add your own commands, etc. by adding in an 'aete' resource (in OS 9,
I'm not sure how to do it in OS X) that will send specific apple events to
your app which you can trap in an "on appleEvent" handler.

If someone can tell me how to do it in OS X, I'll wrap up a set of
instructions on how to do this...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/


> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Graham Samuel
> Sent: Tuesday, May 04, 2004 8:44 AM
> To: use-revolution-request-lists.runrev.com
> Subject: Applescriptable RR app?
> 
> 
> Sorry folks if this is clearly in the docs somewhere (doesn't 
> come up in 
> search): I have at present no clear understanding of 
> AppleScript, but what 
> little I do know includes the idea that an application can 
> make itself 
> AppleScript-able (interacting to some extent with other apps 
> operating in 
> the same machine or environment using AppleScript via an AppleScript 
> Dictionary object or construct. Before I start on the long 
> and (I fear) 
> painful path of understanding AppleScript, can someone tell 
> me if it's 
> possible to make an AppleScript-able application with RunRev, 
> i.e. an app 
> containing an externally accessible Dictionary?
> 
> TIA
> 
> Graham
> 
> ---------------------------------------------------
> Graham Samuel / The Living Fossil Co. / UK & France  
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list