On 12/25/06 3:18 PM, "Stephen Barncard" <[EMAIL PROTECTED]>
wrote:

> Hi, gang,
> 
> hope everyone is having a great time w/ family and friends today.
> Also a good day to fly. I'm in Dallas/FW airport at the moment.
> 
> 
> how does one move the cursor character by character in a script? I'm
> using 2.7.4
> 
> I tried
> 
> get the loc of character x of field "x"

If you want to know where the insertion point is, you can check the
"selectedChunk"; if you want to know the x,y location of the current text
selection, check the "selectedLoc".

> but rev complains.
> 
> sending "arrowkey left" doesn't work either.

Looks like you're trying to move the insertion point one character to the
left? If so, you can do it this way:

  select after char (word 4 of the selectedChunk)-1 of fld "MyField"

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to