• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSAppleScript stumper please help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Calling tableView:setObjectValue directly...
  • Next by Date: Re: Runloops, Cocoa and Carbon
  • Previous by thread: Binding Custom Views: Code Sample
  • Next by thread: [OT] Apple Developer Certification
  • Index(es):
    • Date
    • Thread