Skip to main content

Hi,

Need to get the current cursor position in a variable.

EMSetCursor is used to set cursor to certain row, col. Is there any function to get current cursor position in variables?


#Rumba

Hi,

Need to get the current cursor position in a variable.

EMSetCursor is used to set cursor to certain row, col. Is there any function to get current cursor position in variables?


#Rumba

Hi,

this code snippet should help.

Sub Main

Dim CursR as Integer

Dim CursCol as Integer

EMReadCursor   CursR, CursCol

MsgBox "Cursor Position: Row=" & CursR & " Column=" & CursCol

End Sub

Please note: In the Rumba ScriptEditor press F1 (Assist) to open the Script Command reference with code Samüles and an overview of all Functions.