다른 명령
; 초기 커서 위치 설정 Local $iCursorPos = StringLen(ControlGetText($hActiveWindow, "", $hFocusedControl)) ; 커서 이동 후 위치 추적 Func UpdateCursor($iMoveBy) $iCursorPos += $iMoveBy If $iCursorPos < 1 Then $iCursorPos = 1 If $iCursorPos > StringLen(ControlGetText($hActiveWindow, "", $hFocusedControl)) Then $iCursorPos = StringLen(ControlGetText($hActiveWindow, "", $hFocusedControl)) Return $iCursorPos EndFunc