Hello all,

I'm trying to add an Apple Event to my Cocoa application that accepts a pure data parameter (AE constant typeData = 'tdta'). In my ".scriptSuite" file I've tried setting the "Type" to "NSData", "NSAppleEventDescriptor", "tdta", "any", and "****". All of them trigger something like the following log output on launch:

.scriptSuite warning for argument 'xxxx' of command 'Whatever' in suite 'MyApp': 'NSData' is not a valid type name.

How do I get Cocoa to give me an instance of NSData in the "evaluatedArguments" dictionary? If I upgrade my whole scripting information to the new "sdef" file format, is this problem solved? Or do I have to resort to Carbon's AEInstallEventHandler just for this? That would make me unhappy.

~Martin

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to