<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>
&gt; I'm trying to find "Applescript" in the Revolution<BR>
&gt; documentation, and how to<BR>
&gt; go about making Applescript calls and reacting to<BR>
&gt; Apple Events - - - can<BR>
&gt; anyone point me to a web-site or tell me where in<BR>
&gt; the docs I could find more<BR>
&gt; details on how this is done?<BR>
&gt;<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" &amp;&amp; quote &amp; "Finder" &amp;&amp; \<BR>
  quote &amp; return into tAppleScript<BR>
 put "select the startup disk" &amp; 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" &amp;&amp; \<BR>
  pEventClass &amp;&amp; "and ID" &amp;&amp; pEventType &amp;&amp; \<BR>
  "from" &amp;&amp; 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 &amp; 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>