Rép: Unicode Character in File Name
Rép: Unicode Character in File Name
- Subject: Rép: Unicode Character in File Name
- From: Yvan KOENIG <email@hidden>
- Date: Mon, 6 Apr 2009 16:53:04 +0200
Le 6 avr. 2009 à 16:42, Luther Fuller a écrit :
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?
As I am not running 10.5, I can't test.
what would you get if you use the instruction: get character id
charID ?
Yvan KOENIG (from FRANCE lundi 6 avril 2009 16:51:41)
_______________________________________________
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