position of cursor in the field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 125
- Joined: Sat Jan 31, 2009 12:01 am
position of cursor in the field
I'm racking my brain to figure out how to identify the location of my cursor in a field so I can run a script and then return back to the end of the line that my text was one. sometimes the blinking i-beam cursor can be mid field in a group of text. please assist
Dear scotttyang,
You can use the selectedChunk, the selectedLine, or the selectedField or a combination of those.
Best,
Mark
You can use the selectedChunk, the selectedLine, or the selectedField or a combination of those.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode