Krelis Posted October 29, 2011 Posted October 29, 2011 Hello i want to make s simple looping script to repeatedly press the button 2 or k or something like that. I would like one for a limited loop though like only 500 times or 30 times just some flexible code. TYVM
chachew Posted October 29, 2011 Posted October 29, 2011 What have you written so far for code so we can help you? What type of button is this?
Krelis Posted October 29, 2011 Author Posted October 29, 2011 i havent written any code ever and this button is just on the keyboard like the 2 or r just anything on the keyboard
chachew Posted October 29, 2011 Posted October 29, 2011 i havent written any code ever and this button is just on the keyboard like the 2 or r just anything on the keyboard Look in the help file for HotKeySet That will bind a key press to a Function that will perform what ever action that you are wanting
Krelis Posted October 29, 2011 Author Posted October 29, 2011 that doesnt help me at all... i already looked that up and i didnt understand it can u just write some quick script and show me plox
chachew Posted October 29, 2011 Posted October 29, 2011 This is about as simple as it gets WinActivate("New Text Document - Notepad") For $i = 0 to 10 Send("Help" & @CRLF, 1) Next
chachew Posted October 29, 2011 Posted October 29, 2011 what key board button does that press? ANY letter on the Keyboard! Open the Help File (F1) and search for the "Send" function In my example above it types "Help" 10 times
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