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

Re: Unicode Codepoints


  • Subject: Re: Unicode Codepoints
  • From: Christian Vinaa <email@hidden>
  • Date: Fri, 18 Mar 2005 16:05:19 +0100

At 11:47 +0000 18/03/2005, Rob Stott wrote:
Hi there,

I've a feeling the answer to this one is going to be embarrassingly simple, but it's got me stumped! I want to be able to add a character to a TextEdit document, but I want to be able to specify the character by it's unicode codepoint. So instead of this;

tell application "TextEdit"
	make new document at beginning
	tell front document
		set character 1 to "H"
	end tell
end tell

...I want to be able to do something like this...

tell application "TextEdit"
	make new document at beginning
	tell front document
		set character 1 to Unicode codepoint "\U000048"
	end tell
end tell



ours is not the reason to ask why but why do you want to write the unicode 'code' in stead of the text character it self ?


--
Christian Vinaa

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >One for the experts: Serial Number of computer using Applescript Studio (From: Diana Murray <email@hidden>)
 >Re: One for the experts: Serial Number of computer using Applescript Studio (From: Michelle Steiner <email@hidden>)
 >Unicode Codepoints (From: Rob Stott <email@hidden>)

  • Prev by Date: Re: Unicode Codepoints
  • Next by Date: Re: Round a number towards zero!
  • Previous by thread: Re: Unicode Codepoints
  • Next by thread: Re: One for the experts: Serial Number of computer using Applescript Studio
  • Index(es):
    • Date
    • Thread