Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CoordMode, ToolTip, Screen ; Отображение ToolTip'a относительно рабочего стола.
- sw = 0
- F1::
- if (sw = 0)
- {
- #Persistent
- SetTimer, RandClick, 3000
- ToolTip, Script ON ,50, 100
- SetTimer, RemoveToolTip, -2000
- sw = 1
- }
- else
- {
- SetTimer, RandClick, off
- ToolTip, Script OFF ,50, 100
- SetTimer, RemoveToolTip, -2000
- sw = 0
- }
- return
- F2:: ExitApp
- -------------------------------------
- RemoveToolTip: ;Удаление подсказки
- ToolTip
- return
- RandClick:
- Random, randX, 0, A_ScreenWidth
- Random, randY, 0, A_ScreenHeight
- Click %randX%, %randY%
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement