• 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: about the use of character id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about the use of character id


  • Subject: Re: about the use of character id
  • From: "koenig.yvan" <email@hidden>
  • Date: Mon, 01 Sep 2014 12:25:35 +0200


Le 01/09/2014 à 11:53, emile.a.schwarz <email@hidden> a écrit :

Hi,

 

This works (returns a space)
Unicode text id 32

 

This does not (returns an error: Unable to get Unicode text id 32…)
set i to 32
Unicode text id i

 

And of course I need the later.

 

Emile

_

Hello Emile


According to Standard Additions, the official syntax is not
Unicode text id anIntegerValue
it's
character id anIntegerValue.

ASCII character v : Convert a number to a character
ASCII character integer : the code point of the specified character
→ text : the character
This command is deprecated; use ‘character id …’.

The script :
set i to 32
character id i

behaves flawlessly.


Yvan KOENIG (VALLAURIS, France) lundi 1 septembre 2014 12:25:24



 _______________________________________________
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

References: 
 >about the use of character id (From: "emile.a.schwarz" <email@hidden>)

  • Prev by Date: about the use of character id
  • Next by Date: Re: Simple script. Simple error. Can't find it
  • Previous by thread: about the use of character id
  • Next by thread: Re: about the use of character id
  • Index(es):
    • Date
    • Thread