I need a random number generator(1-100) near my mousepointer and everytime i do a leftclick there will be a new refreshed number.
Im a beginner, could anyone help me with this?
Cheers
random number generator on mouse+refresh with click
Re: random number generator on mouse+refresh with click
Random
Tooltip
Mousegetpos
Coordmode
are the command u need to learn, and ofc the hotkey tutorial
Tooltip
Mousegetpos
Coordmode
are the command u need to learn, and ofc the hotkey tutorial
Re: random number generator on mouse+refresh with click
Code: Select all
#SingleInstance, force
#Persistent
CoordMode, ToolTip, Screen
Random, rnd, 1, 100
SetTimer, Go, 10
return
~LButton::
Random, rnd, 1, 100
return
Go:
MouseGetPos, xpos, ypos
tooltip , %rnd%, %xpos%, %ypos%
return
esc::
ExitApp
____________________________________________________________________________
Windows 10 Pro 64 bit - Autohotkey v1.1.30.01 64-bit Unicode
Windows 10 Pro 64 bit - Autohotkey v1.1.30.01 64-bit Unicode
Who is online
Users browsing this forum: Google [Bot], OrangeCat and 289 guests