Scott337 Posted December 12, 2022 Posted December 12, 2022 I'm trying to get a macro the repeats space until I've let go of the actual spacebar. I have a script that is supposed to do that but it doesn't stop when I let go of the spacebar. Can somebody help? here is the script #include <Misc.au3> #include <GUIConstantsEx.au3> $spacerepeat= 10 $spacerepeatdelay= 1000 $hgui= GUICreate("send space app", 200, 60) GUISetState();shows the gui window do $guimsg= GUIGetMsg() if _IsPressed("20") Then for $i=0 to $spacerepeat-1 $timer= TimerInit() while TimerDiff($timer)<$spacerepeatdelay wend send("{space}") next endif until $guimsg= $GUI_EVENT_CLOSE
Developers Jos Posted December 12, 2022 Developers Posted December 12, 2022 (edited) On 12/12/2022 at 12:36 AM, Scott337 said: I'm trying to get a macro the repeats space until I've let go of the actual spacebar. Expand I can only imagine this is go some sort of game so like to refer you to our forum rules ! @ioa747Your answer is hidden for the time being. @ALL: Please stay out till this is cleared. Edited December 12, 2022 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now