Converting NSAppleEventDescriptor to AppleEvent
Converting NSAppleEventDescriptor to AppleEvent
- Subject: Converting NSAppleEventDescriptor to AppleEvent
- From: "Neal A. Crocker" <email@hidden>
- Date: Sat, 17 Nov 2001 23:49:58 -0800
Hi,
I was wondering if there was a simple way to convert a
NSAppleEventDescriptor object to an variable of AppleEvent type (a
Carbon data type). The reason I ask is I want to make a Foundation
tool that contstructs and send appleevents. The constructing part
can be accomplished using the NSAppleEventDescriptor class, but
Foundation has no way to send it. I have to use AESend from Carbon,
which takes an argument of the AppleEvent data type. I don't want to
simply go Carbon all the way for my tool, since I anticipate making
the tool purely Foundation once Foundation has the capability to send
appleevents.
Thanks,
Neal.