Sofa_King Posted April 20, 2020 Posted April 20, 2020 *Space:: Loop { GetKeyState, state, space, P if State = U ; The button has been released, so stop the loop. break ; Otherwise: Send, {SPACE} Sleep, 20 ; i.e. 26 ms delay between clicks. Adjust this value as needed. } return /:: Suspend,Toggle Could anyone help me transfer this AHK script into an AutoIT script?
Aelc Posted April 21, 2020 Posted April 21, 2020 Hello and welcome first of all there is a help file with examples inside for mostly commands in Autoit where you can learn so much from I don't know AHK but it looks like #include <Misc.au3> Do ;loop Sleep ( 20 ) ;sleep Send ( "{SPACE}" ); send space Until _IsPressed ( "20" ) ; until space was pressed why do i get garbage when i buy garbage bags?
Developers Jos Posted April 21, 2020 Developers Posted April 21, 2020 @Sofa_King, This is not the AHK forum, but rather the AutoIt3 forum. 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.
Sofa_King Posted April 23, 2020 Author Posted April 23, 2020 On 4/20/2020 at 9:57 PM, Aelc said: Hello and welcome first of all there is a help file with examples inside for mostly commands in Autoit where you can learn so much from I don't know AHK but it looks like #include <Misc.au3> Do ;loop Sleep ( 20 ) ;sleep Send ( "{SPACE}" ); send space Until _IsPressed ( "20" ) ; until space was pressed Thanks! I'll check it out and try to learn a few things.
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