Where can I learn about Applescript and Revolution?

RGould8 at aol.com RGould8 at aol.com
Wed Oct 9 15:15:00 CDT 2002


You are awesome - - - thank you so much!

In a message dated 10/9/02 4:04:50 PM, janschenkel at yahoo.com writes:


> --- RGould8 at aol.com wrote:
> > I'm trying to find "Applescript" in the Revolution
> > documentation, and how to
> > go about making Applescript calls and reacting to
> > Apple Events - - - can
> > anyone point me to a web-site or tell me where in
> > the docs I could find more
> > details on how this is done?
> >
> 
> Hi there, and welcome to RunRev.
> 
> If you want to execute a piece of AppleScript code,
> use the 'do' command. Example:
> 
>   put "tell application" && quote & "Finder" && \
>     quote & return into tAppleScript
>   put "select the startup disk" & return after \
>     tAppleScript
>   put "end tell" after tAppleScript
>   do tAppleScript as AppleScript
> 
> If you want to capture AppleEvents being sent to your
> RunRev application, you'll need to handle the
> 'appleEvent' message. Example:
> 
> on appleEvent pClass, pID, pSender
>   answer "Received AppleEvent of class" && \
>     pEventClass && "and ID" && pEventType && \
>     "from" && pSender
>   pass appleEvent -- move it up the message chain
> end appleEvent
> 
> To learn more about AppleScript in general, visit the
> website http://www.applescriptcentral.com
> 
> There are a few entries in the use-revolution archive,
> so you might want to search around there as well.
> 
> Hope this helped,
> 
> Jan Schenkel.
> 
> =====
> "As we grow older, we grow both wiser and more foolish
> at the same time."  (La Rochefoucauld)
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20021009/2b01ea24/attachment.html>


More information about the use-livecode mailing list