Re: Can anyone explain this?
Re: Can anyone explain this?
- Subject: Re: Can anyone explain this?
- From: "Philip T. Gonia" <email@hidden>
- Date: Fri, 27 Dec 2002 14:09:25 -0800
I'm not sure why it's doing that (it did the same on my machine too).
I added 'as string' to the end of it and it seemed to work.
Thanks. "as text" also works.
I wonder whether it has anything to do with Unicode text.
--Michelle
Looking over the dictionary for finder I see that what you are seeing, most likely, is
either Unicode Text or International Text.
The following addition to your initial test script, in fact, shows this to be Unicode text.
set foo to (choose file)
tell application "Finder" to set foo_name to name of foo
-- text items of foo_name
class of foo_name
--> result in Script Editor
--> Unicode Text
Phil
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.