티스토리 뷰

오토핫키 v2.0

오토핫키 MouseGetPos

wlsufld 2023. 12. 1. 20:36

마우스 커서의 현재위치, 어느창 위에 있는지 검색

// MouseGetPos  &OutputVarX, &OutputVarY, &OutputVarWin
// OutputVarX, OutputVarY 위치 x, y
// OutputVarWin 윈도우 ID

WatchCursor()
{
    MouseGetPos &OutputVarX, &OutputVarY, &OutputVarWin
    ToolTip
    (
        "x, y : [" OutputVarX ", " OutputVarY "
		window id " OutputVarWin "
		window title " WinGetTitle(OutputVarWin)
    )
}

^4::
{
	WatchCursor
}

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함