<HTML><FONT FACE=arial,helvetica><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">You are awesome - - - thank you so much!<BR>
<BR>
In a message dated 10/9/02 4:04:50 PM, janschenkel@yahoo.com writes:<BR>
<BR>
<BR>
<BLOCKQUOTE CITE STYLE="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px" TYPE="CITE"></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2">--- RGould8@aol.com wrote:<BR>
> I'm trying to find "Applescript" in the Revolution<BR>
> documentation, and how to<BR>
> go about making Applescript calls and reacting to<BR>
> Apple Events - - - can<BR>
> anyone point me to a web-site or tell me where in<BR>
> the docs I could find more<BR>
> details on how this is done?<BR>
><BR>
<BR>
Hi there, and welcome to RunRev.<BR>
<BR>
If you want to execute a piece of AppleScript code,<BR>
use the 'do' command. Example:<BR>
<BR>
  put "tell application" && quote & "Finder" && \<BR>
    quote & return into tAppleScript<BR>
  put "select the startup disk" & return after \<BR>
    tAppleScript<BR>
  put "end tell" after tAppleScript<BR>
  do tAppleScript as AppleScript<BR>
<BR>
If you want to capture AppleEvents being sent to your<BR>
RunRev application, you'll need to handle the<BR>
'appleEvent' message. Example:<BR>
<BR>
on appleEvent pClass, pID, pSender<BR>
  answer "Received AppleEvent of class" && \<BR>
    pEventClass && "and ID" && pEventType && \<BR>
    "from" && pSender<BR>
  pass appleEvent -- move it up the message chain<BR>
end appleEvent<BR>
<BR>
To learn more about AppleScript in general, visit the<BR>
website http://www.applescriptcentral.com<BR>
<BR>
There are a few entries in the use-revolution archive,<BR>
so you might want to search around there as well.<BR>
<BR>
Hope this helped,<BR>
<BR>
Jan Schenkel.<BR>
<BR>
=====<BR>
"As we grow older, we grow both wiser and more foolish<BR>
at the same time."  (La Rochefoucauld)<BR>
<BR>
__________________________________________________<BR>
Do you Yahoo!?<BR>
Faith Hill - Exclusive Performances, Videos & More<BR>
http://faith.yahoo.com<BR>
_______________________________________________<BR>
use-revolution mailing list<BR>
use-revolution@lists.runrev.com<BR>
http://lists.runrev.com/mailman/listinfo/use-revolution<BR>
<BR>
</BLOCKQUOTE></FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"><BR>
<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"></FONT></HTML>