Re: Dealing with Japanese filenames??
Re: Dealing with Japanese filenames??
- Subject: Re: Dealing with Japanese filenames??
- From: has <email@hidden>
- Date: Tue, 3 May 2005 23:38:45 +0100
Jonathan del Strother wrote:
>Thanks for the suggestions, I'll give it a go. In the meantime, did you have any snippets of Applescript that handles an FSRef? I've done very little work in Applescript, and have never even heard of Apple events before. I'm having trouble finding suitable-looking examples...
Know the feeling. Not sure what the best way to do it is these days (I work in Python via it Carbon API wrappers - I assume you're working in Obj-C/Cocoa; if you're in C/Carbon you'll need to do it differently); maybe start with a CFURL, extract a CFData, then pack it into an NSAppleEventDescriptor using descriptorWithDescriptorType:data: as typeFileURL (some useful stuff on that here <http://developer2.apple.com/technotes/tn/tn2022.html>). Best place to ask is AS Implementors list <http://lists.apple.com/mailman/listinfo/applescript-implementors>.
HTH
has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden