• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode Character in File Name


  • Subject: Re: Unicode Character in File Name
  • From: CYB <email@hidden>
  • Date: Mon, 06 Apr 2009 14:53:39 -0600
  • Thread-topic: Unicode Character in File Name

Title: Re: Unicode Character in File Name
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.



But why using Finder? Don’t need it if you write
set
x to 65
character id x
-->>
"A"

Anyway using Finder is buggy

Carlos Ysunza B.
Director
Ysunza/Santiago
Comunicación Visual • Automatización
Tel. (52)55 5256-0336
email@hidden

http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx

 _______________________________________________
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

  • Follow-Ups:
    • Re: Unicode Character in File Name
      • From: Luther Fuller <email@hidden>
References: 
 >Re: Unicode Character in File Name (From: Luther Fuller <email@hidden>)

  • Prev by Date: No export commands in iPhoto??
  • Next by Date: Re: Unicode Character in File Name
  • Previous by thread: Re: Unicode Character in File Name
  • Next by thread: Re: Unicode Character in File Name
  • Index(es):
    • Date
    • Thread