Apple Events?
Mark Schonewille
m.schonewille at economy-x-talk.com
Sun Jun 4 14:42:37 EDT 2006
Hi Todd,
There is an AppleEvent example in the Sample Scripts Stack on my web
site (originally HyperCard but also available as PDF). The AppleEvent
information in Revolution's docs seem pretty accurate to me. The
easiest way to find out which AppleEvent you need to catch is probably:
on appleEvent theClass, theID
put "class:" && theClass & return & ¬
"ID" && theID & return into myVar
request appleEvent data
put "AppleEvent data:" && it after myVar
answer myVar
end appleEvent
You might want to put this into a stack script and make a standalone
of that stack.
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Salery is the easiest way to get your own web store on-line: http://
www.salery.biz/salery.html
Op 4-jun-2006, om 20:30 heeft Todd Geist het volgende geschreven:
> Hello,
>
> I am looking into using Apple Events with Revolution, but I can't get
> my head around it.
>
> I am pretty proficient at Applescript, and just started using Script
> Debugger (jeez can't believe how much better it is then the plain old
> Script Editor). But I can't seem to make the leap from that to using
> Apple Events.
>
> All the stuff I can find on using them show you how to use them using
> Carbon, or Cocoa, or some language I am not into. I would love to see
> some examples using Revolution.
>
> Does anybody of any useful resources? Either on Apple Events or Apple
> Events and Revolution together?
>
> TIA
>
> Todd
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list