Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Question on file type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on file type



Ok, I see. However, I'm not working at the AppleEvent level. I'll have to see how I can do this in a NSScriptCommand.

Thanks for your help.
Jim Merkel

On Mon, 28 Feb 2005 23:13:42 -0500 Jon Guyer wrote:
No, you apply the coercion. Supply a desiredType (typeFSRef or typeFileURL, for instance) to AEGetKeyPtr when you pull the info out of the AppleEvent. Then use appropriate CF calls to convert that to your path. There should already be coercion handlers to convert aliases to FSRefs to furls, etc. If there aren't, then provide them. Certainly don't require your scripters to supply a path themselves. Ick!

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-implementors mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.