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 10:28:45 -0500
On Apr 6, 2009, at 10:06 AM, Mark J. Reed wrote:
Interestingly, it works with a literal number:
tell application "Finder" to character id 65
But not with a var, no matter how obtained:
set capA to 65
tell application "Finder" to character id capA
Which sure smells buglike.
Here is another work around. Not sure I would want to use it.
tell application "Finder"
set charID to (id of "A") -- this works
run script "character id " & (charID as text) -- this works
end tell
log the result --> "A"
Both "tell me to ..." and "run script ..." seem to remove the
offensive command from the Finder.
_______________________________________________
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