Thanks Yashied
I just saw your response because I was busy trying to solve the problem and since I only need
to goto line in SciTE, I came out with this (see below)
It works in any resolution, zoom and window size and position (at least so far)
I haven't try yours yet, but I'm almost sure it will work (not sure it will work in Scite).
I really appreciate your help.
By the way, you guys in Moscow need a lesson or two in English because I'm sure
you meant "busy" instead of "lazy"
local $Line = 20
_move_caret_SciTE($Line)
Func _move_caret_SciTE($moveL)
Local $L1, $L2, $Ydiff, $yMove
Opt("CaretCoordMode", 2)
ControlSend("[CLASS:SciTEWindow]", "", "Scintilla1", "^{home}")
$L1 = WinGetCaretPos()
ControlSend("[CLASS:SciTEWindow]", "", "Scintilla1", "{down}")
$L2 = WinGetCaretPos()
$Ydiff = ($L2[1] - $L1[1])
$yMove = ($moveL - 1) * $Ydiff
Sleep(300)
ControlClick("[CLASS:SciTEWindow]", "", "Scintilla1", "left", 1, $L1[0], $yMove)
EndFunc ;==>_move_caret