• 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
Re: Cocoa/Applescript question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa/Applescript question


  • Subject: Re: Cocoa/Applescript question
  • From: Annard Brouwer <email@hidden>
  • Date: Thu, 15 Dec 2005 09:25:02 +0100

Hi Steve,

I admit that is it confusing to a Cocoa developer, but check out this chapter of the docs:
<file:///Developer/ADC Reference Library/documentation/ AppleScript/Conceptual/AppleEvents/data_in_ae_aepg/ chapter_5_section_1.html#//apple_ref/doc/uid/TP40001582>

What you want to do is to traverse the list descriptor and then try coerce the 'fss ' descriptor to an FSSpec or alias or something like that. Expect to dig a lot in the document above but eventually you'll find it...

Annard

On 15 Dec 2005, at 08:20, Steve Gehrman wrote:
I'm receiving this event in my Cocoa application...

event data:
{ 1 } 'aevt': - 2 items {
key '----' -
{ 1 } 'list': - 1 elements {
{ 1 } 'fss ': 70 bytes {
{ -100, 295348, Notes.rtfd }
}
}
key 'usin' -
{ 1 } 'alis': 340 bytes {
/Applications/TextEdit.app
}
}
}

I have no idea how to convert an 'fss ' to a FSSpec, or path or something usable. I'm pretty new to Cocoa/Applescript and find it extremely confusing.

_______________________________________________
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
References: 
 >Cocoa/Applescript question (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Cocoa/Applescript question
  • Next by Date: Re: NSNumber's Purpose
  • Previous by thread: Cocoa/Applescript question
  • Next by thread: Re: Cocoa/Applescript question
  • Index(es):
    • Date
    • Thread