November 1, 200421 yr I highlight some text in a text field with scroll bars, apply a script to do things with that highlighted text and want to be able to return to that same location with that same text still highlighted after running that script. HELP !
November 1, 200421 yr Set two global number fields at the beginning of the script (or pass them as script parameters) with the Get(ActiveSelectionStart) and Get(ActiveSelectionSize) functions. Then use this data at the end of your script in a Set Selection step. Start Position will be the contents of the 'SelectionStart' global and End Position will be SelectionStart + SelectionSize.
November 2, 200421 yr Author Queue, The higlighting works great. Thanks! I'm still not able to get the field to scroll to the highlight (this particular record has 17 scrollable pages) I tried "scroll to selection" but to no avail. Thanks again...
November 2, 200421 yr I don't know if there is an easy way to scroll to include the full highlight, sorry.
Create an account or sign in to comment