"Generic" data type in Automator
"Generic" data type in Automator
- Subject: "Generic" data type in Automator
- From: Glen Low <email@hidden>
- Date: Thu, 2 Jun 2005 23:44:50 +0800
Dear All,
In Automator, there seems to be a generic UTI called "com.apple.applescript.data-object", which conforms to "com.apple.applescript.object". This is the only UTI that produces a "Data" tag in the Automator interface, so I presume it's meant for arbitrary sequences of binary data. However none of the inbuilt actions produce or consume it, so how does one, in Cocoa, produce an object of this type?
My best guess, given that the majority of types come in as NSAppleEventDescriptor, is:
[NSAppleEventDescriptor descriptorWithDescriptorType: typeData data: ... ]
where data is the actual NSData to be wrapped.
Is this correct?
Cheers, Glen Low
--- pixelglow software | simply brilliant stuff www.pixelglow.com aim: pixglen
|
_______________________________________________
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