Re: Unicode Character in File Name
Re: Unicode Character in File Name
- Subject: Re: Unicode Character in File Name
- From: Luther Fuller <email@hidden>
- Date: Mon, 06 Apr 2009 09:42:58 -0500
While scripting this, I noticed something that may be of interest.
The following script ought to write "A" to the console, but it errors:
tell application "Finder"
set charID to (id of "A") -- this works
character id charID -- this errors
end tell
log the result
Make a small change and now this works:
tell application "Finder"
set charID to (id of "A") -- this works
tell me to character id charID -- this now works too
end tell
log the result
"A" is now written to the console.
It appears that the Finder can correctly convert character to id
number, but cannot convert id number to character. But, which is the
bug?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden