Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xpos0:=0
- ypos0:=0
- #Persistent
- SetTimer, ToolTipShow, 20
- return
- F1:: ; По F1 задаём начальную точку отсчёта
- CoordMode, Mouse, Screen
- MouseGetPos, xpos0, ypos0
- return
- F2::ExitApp
- F3::Reload
- ToolTipShow:
- CoordMode, Mouse, Screen
- MouseGetPos, xpos, ypos
- CoordMode, Pixel, Screen
- CoordMode, ToolTip, Screen
- xpos1:=xpos0-xpos
- ypos1:=ypos0-ypos
- ToolTip, Координаты X: %xpos% Y: %ypos%`nОтклолнение X: %xpos1% Y: %ypos1%
- Sleep 10
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement