NSAppleScript stumper please help
NSAppleScript stumper please help
- Subject: NSAppleScript stumper please help
- From: Ken Tozier <email@hidden>
- Date: Mon, 8 Mar 2004 15:47:19 -0500
After reading all relevant tech notes, release notes and the class
definition for NSAppleScript, there is one question which I can't seem
to find an answer for:
When creating an apple event to use with NSAppleScript's
"executeAppleEvent" method, what are you supposed to use as the
"targetDescriptor" and how do you get the required info from a loaded
NSAppleScript? I figured out the event class/event id info I need to
use, (kASAppleScriptSuite, kASSubroutineEvent) but have no clue how to
convert an NSAppleScript to one of the documented targetDescriptor
types.
I have some old script-running code I wrote several years ago that does
exactly what I want, but it would be preferable moving forward to use
NSAppleScript if possible.
Any help greatly appreciated,
Ken
_______________________________________________
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.