A quick search reveals this function may help you:
IntValue(variable-name)
http://tech.groups.yahoo.com/group/framescript-users/message/4005
--- Michael Zaichenko [EMAIL PROTECTED]
wrote:
Hi all,
does anyone know a way or a command to retrieve an
ASCII or HEX number of a
selected
. Is there a natural way
of getting this information?
Michael
From: Chris Borokowski [EMAIL PROTECTED]
To: Michael Zaichenko [EMAIL PROTECTED],
framers@lists.frameusers.com
Subject: Re: ASCII IN FRAMESCRIPT
Date: Mon, 30 Apr 2007 06:22:54 -0700 (PDT)
A quick search reveals this function may
Michael Zaichenko wrote:
Thanks Chris,
this seems to be a one way road: number into letter. How
about the other way around. I need to know what ascii or hex
number a certain letter is. I have a far too sophisticated
script that loops through characters and assigns them codes
and
Subject: RE: ASCII IN FRAMESCRIPT
Date: Mon, 30 Apr 2007 14:31:40 -0600
Michael Zaichenko wrote:
Thanks Chris,
this seems to be a one way road: number into letter. How
about the other way around. I need to know what ascii or hex
number a certain letter is. I have a far too sophisticated
script
Michael,
You can use this on the selected character:
If TextSelection.Begin.Object = TextSelection.End.Object
If TextSelection.Begin.Offset TextSelection.End.Offset
Display eUtl.StringToInt{TextSelection.Begin.TextRange1.Text};
EndIf
EndIf
Rick Quatro
Carmen Publishing
585-659-8267