Re: AppleEvent and NSAppleEventDescriptor
Re: AppleEvent and NSAppleEventDescriptor
- Subject: Re: AppleEvent and NSAppleEventDescriptor
- From: Dustin Voss <email@hidden>
- Date: Fri, 4 Aug 2006 18:43:20 -0700
On 4 Aug 2006, at 4:16 PM, David Alter wrote:
Let me start by saying I'm an AppleEvents beginner.
If I have an AppleEvent build with AEBuildAppleEvent. Can I create
and NSAppleEventDescriptor out of it? Or is this mixing Apple and
oranges.
thanks for the help
This should work:
AppleEvent myEvent;
AEBuildAppleEvent(theClass, theID, addressType, addressData,
addressLength,
returnID, transactionID, &myEvent, NULL, ...);
NSAppleEventDescriptor *descriptor = [[NSAppleEventDescriptor alloc]
initWithAEDescNoCopy:&myEvent];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden