Re: path to as string
Re: path to as string
- Subject: Re: path to as string
- From: Christopher Nebel <email@hidden>
- Date: Tue, 28 Jun 2005 18:43:48 -0700
On Jun 28, 2005, at 5:11 PM, has wrote:
...the only [example of bad Unicode behavior] I could think of
offhand is Finder's 'creator type' and 'file type' properties,
which demand an AEDesc of typeText and choke on anything else:
tell application "Finder"
set creator type of file "test.txt" of home to "ttxt" -- works
with an AEDesc of typeText
set creator type of file "test.txt" of home to ("ttxt" as
Unicode text as string) -- breaks on an AEDesc of typeStyledText
end tell
Obviously a bug in Finder, but until it's fixed...
Which it is in Tiger.
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
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