Re: Executing AppleScript from Cocoa (with return values)
Re: Executing AppleScript from Cocoa (with return values)
- Subject: Re: Executing AppleScript from Cocoa (with return values)
- From: email@hidden
- Date: Mon, 18 Aug 2003 20:32:01 +0000
I'm looking at using this method myself, but I can't figure out from the
documentation how I would access, in Cocoa, a list of strings returned by the
AppleScript. I know it has to come out of the NSAppleEventDescriptor object
but that's about all I know. It would be great to just be able to make an
NSArray of NSString objects out of it. Can it be done in Cocoa or do I need
to use the Carbon APIs with the aedesc data?
>
>
> Take a look at NSAppleScript. (BTW, if you don't have it, get AppKiDo
>
> from http://homepage.mac.com/aglee/downloads/ ).
>
>
Wow -- I totally misses executeAndReturnError:, thinking that
>
executeAppleEvent:error: was the only way to go. Thanks for making me
>
look again!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.