Jump to content
Sign in to follow this  
Guest prthebest

Need some advice

Recommended Posts

Guest prthebest

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")

Share this post


Link to post
Share on other sites
HardCopy

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")

<{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
EndFunc

Press ESC key any time u want to stop sending

HTH

HardCopy :)


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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.