Site Tools


autoit:codes:mousehotkey

This is an old revision of the document!


Mouseclick hotkey

I use this little script to start and stop the records when I play Xbox on the same screen as my pc. Since I dont want to keep the mouse on the record button this script automatically clicks on the button location when I hit “x” like “x”box ;)

HotKeySet("{x}", "rec")
Hotkeyset("{END}", "close")

Func rec()
MouseClick("left",730,770)
Sleep(50)
EndFunc


Func close ()
	Exit 0
EndFunc

Sleep(1)

While 1
   Sleep (10)
WEnd

autoit/codes/mousehotkey.1401695946.txt.gz · Last modified: 2017/03/01 12:50 (external edit)