Applescriptable RR app?
Thomas McGrath III
3mcgrath at adelphia.net
Tue May 4 20:35:00 EDT 2004
If you go to the Apple website they have a lot of useful example
scripts to 'tear' apart and also last time I checked they had a
downloadable applescript guide/glossary. I found it very useful. Just
go to the Applescript section and look around. Although AS appears
xtalk like it really is not (in my opinion). AS also is not as friendly
as REV/HC/SC are not just the AS list. But it is very useful and you
can do a lot with it.
On May 4, 2004, at 2:23 PM, Graham Samuel wrote:
> On Tue, 4 May 2004 10:02:35 -0500, "Ken Ray" <kray at sonsothunder.com>
>> 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...
> OK - thanks very much Ken. I'm not scared of AppleEvent handlers (done
> that), but I see that I need to so a lot of work to tutor myself in
> AppleScript. I've been lurking on the official AS mailing list for
> some time now, but it doesn't seem to me to have the friendly feel of
> this list. The language seems xTalk "kind of", but the underlying
> model of the objects and how they fit together doesn't look very
> intuitive to me... well, let's hope Mr O'Reilly will give me the help
> I need. I do see that AS capability is going to be very useful in
> several contexts...
> Back to work.
> Graham Samuel / The Living Fossil Co. / UK & France
> use-revolution mailing list
> use-revolution at lists.runrev.com
Thomas J. McGrath III
1000 Killarney Dr.
Pittsburgh, PA 15234
More information about the Use-livecode