wfcmod1 Posted January 8, 2009 Share Posted January 8, 2009 ok... i have been reading through the manual but i just can not figure out how to do this all i need to make is a script that will repeatably hit a number (1-10 w/e doesn't matter) untill i decide to turn the script off i have found out how to send the key i just do not know how to make it repeat itself until i am finished.... also if there is a possible way i would like to add a pop up box that you can change the time limit between key strokes through this box. if any1 could please help em this would be much appreciated Link to comment Share on other sites More sharing options...
qazwsx Posted January 8, 2009 Share Posted January 8, 2009 while loop hotkeyset Autoit options Koda Gui in the helpfile Link to comment Share on other sites More sharing options...
wfcmod1 Posted January 8, 2009 Author Share Posted January 8, 2009 ok so will this work for just a continuous key stroke of the number 1? While 1 <= -0 send("1") sleep(5000) WEnd Link to comment Share on other sites More sharing options...
qazwsx Posted January 8, 2009 Share Posted January 8, 2009 no because one is not less than zero. Link to comment Share on other sites More sharing options...
wfcmod1 Posted January 8, 2009 Author Share Posted January 8, 2009 ok so i change the symbol to greater than and it will work... Link to comment Share on other sites More sharing options...
qazwsx Posted January 8, 2009 Share Posted January 8, 2009 yes. Any true statement will make it loop. You could also simply put: While 1 code... Wend Also, use code tags when posting code. Link to comment Share on other sites More sharing options...
wfcmod1 Posted January 8, 2009 Author Share Posted January 8, 2009 ok tyvm =) Link to comment Share on other sites More sharing options...
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