Guest prthebest Posted June 19, 2005 Posted June 19, 2005 im trying to make a macro that will press tab then q and repeat for 10 times but with a time beatween them of like 5 - 10 seconds if u can guide me a but i read all the tutorials and this is what i think it could work btw im a noob. so anything will help... MsgBox(64, "Ready", "Click ok when Ready") $1 = 0 While $i <= 10 $i = $i + 1 Do Send ("{TAB}") Send ("q")
HardCopy Posted June 19, 2005 Posted June 19, 2005 im trying to make a macro that will press tab then q and repeat for 10 times but with a time beatween them of like 5 - 10 seconds if u can guide me a but i read all the tutorials and this is what i think it could work btw im a noob. so anything will help...MsgBox(64, "Ready", "Click ok when Ready")$1 = 0While $i <= 10$i = $i + 1 Do Send ("{TAB}") Send ("q")<{POST_SNAPBACK}>HotKeySet("{ESC}","Terminate") MsgBox(64, "Ready", "Click ok when Ready") $inc=0 while $inc <= 10 Send ("{TAB}") Send ("q") Sleep(5000);5000 = 5 secs / inc or decrease this as required $inc=$inc+1 WEnd MsgBox(64, "Status", "done",2) func Terminate() exit 0 EndFuncPress ESC key any time u want to stop sendingHTHHardCopy Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad
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