I know how to control the other application with AppleScript, and I  
already have AE Monitor (great app!) so I know the commands needed.   
The application I am controlling can potentially respond with an  
AppleEventRecord.  I was hoping to make a generic method that could  
parse this result into a RB dictionary and then also make another  
method that can take a dictionary and make an AppleEventRecord.   
However, it does not appear there is a way to iterate over the  
elements in an AppleEventRecord.  You apparently already have to know  
what element names are in it as well as what format the data is in.
--
Chris Jett
[EMAIL PROTECTED]

On Feb 28, 2007, at 8:46 PM, Dean Davis wrote:

> Chris,
> Your best bet is to get a copy of AE Monitor and check the
> AppleEventRecord. Once you see the format it will be easier to work
> with AppleEvents. AE Monitor can sometimes generate the code you need
> automatically.
>
> It will also be helpful if you already know how to write and
> AppleScript to make the other application to do what you want. The you
> can construct a duplicate AppleEvent in RB to control the other
> application.
>
> Dean Davis
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to