• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unicode Character in File Name <Luther Fuller>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode Character in File Name <Luther Fuller>


  • Subject: Re: Unicode Character in File Name <Luther Fuller>
  • From: email@hidden
  • Date: Mon, 06 Apr 2009 14:50:14 -0600


On Apr 6, 2009, at 15:11:58 (-0500), Luther Fuller wrote:

Because it's one line of code inside code that does Finder stuff. Hence the work around.

tell application "Finder"
...
if exists alias file "xxxxxx" of someFolder then
set fileAlias to (alias file "xxxxxx" of someFolder) as alias
tell me to "xxxxxx " & (character id 9664)
set name of fileAlias to the result
end if
set locked of someFolder to true
...
end tell


Another workaround that doesn't look quite so strange is to use the keyword my

tell application "Finder"
set charID to (id of "A")
my character id charID
log result
"xxxxxx " & my (character id charID)
log result
end tell



 _______________________________________________
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

  • Prev by Date: Re: Unicode Character in File Name
  • Next by Date: Re: Unicode Character in File Name
  • Previous by thread: No export commands in iPhoto??
  • Next by thread: Application does not fire on first drop
  • Index(es):
    • Date
    • Thread