• 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
Converting NSAppleEventDescriptor to AppleEvent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Converting NSAppleEventDescriptor to AppleEvent
      • From: Mark Piccirelli <email@hidden>
  • Prev by Date: NSJPEGFileType / JPEG writer
  • Next by Date: NSTextView/Storage Fast deletion?
  • Previous by thread: Re: NSJPEGFileType / JPEG writer
  • Next by thread: Re: Converting NSAppleEventDescriptor to AppleEvent
  • Index(es):
    • Date
    • Thread