Im quite new using Autohotkey just discovered it a week ago.
Im trying to make a script for Runescape they only thing i want it to do is to:
Click every 1,5 sec on some cords on the active window (which is Runescape)
And a Infobox Counting how many times it has clicked (Without stop clicking)
I know how to do the Hotkey to switch it on/off, pause and Suspend
I have found a usefull script on the tutorial that just show the cords of your mouse with a awesome font
CustomColor = EEAA99 ; Can be any RGB color (it will be made transparent below). Gui +LastFound +AlwaysOnTop -Caption +ToolWindow ; +ToolWindow avoids a taskbar button and an alt-tab menu item. Gui, Color, %CustomColor% Gui, Font, s32 ; Set a large font size (32-point). Gui, Add, Text, vMyText cLime, XXXXX YYYYY ; XX & YY serve to auto-size the window. ; Make all pixels of this color transparent and make the text itself translucent (150): WinSet, TransColor, %CustomColor% 150 SetTimer, UpdateOSD, 200 Gosub, UpdateOSD ; Make the first update immediate rather than waiting for the timer. Gui, Show, x0 y400 NoActivate ; NoActivate avoids deactivating the currently active window. return UpdateOSD: MouseGetPos, MouseX, MouseY GuiControl,, MyText, X%MouseX%, Y%MouseY% return
I just need to find a way to make it match to my script i already made
R:: Reload Ins:: Suspend P:: Pause Count :=1 F2:: Loop { click Sleep, 1500 ;1,5 sec Count := Count +1 }
Can someone help me match these 2 scripts so it click and show how many times it has clicked on the screen?