dominoPgr
asked on
How to move cursor to the end of a field (not begining)?
Here is a piece of my lotus script code when a button is pressed:
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
uidoc.EditMode = True
Call uidoc.GoToField( "fieldName")
It puts the cursor in the field that will be edited. The problem is that the cursor goes to the begining of the field. When the field is quite long, it takes time to scroll down to the end of the field when some one is trying to add some text to the field. Is there a way to change the code and make the cursor go to the end of the fiield?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Using formula command EditLeft worked. Thank you!
http://benpoole.com/articles/sendkeys
Call uidoc.GoToField( "fieldName")
PushKeys("{^End}")
I might have the syntax wrong, so please check.