Jump to content
Sign in to follow this  
tinman

Noob help

Recommended Posts

tinman

I dont have a lot of time or i would look at the help file but i need this script to loop untill i stop it

Sleep ( 5000 )

Send("{CTRLDOWN}")

Send("{m DOWN}")

Sleep ( 1000 )

Send("{m Up}")

Send("{CTRLUP}")

Sleep ( 60000 )

Send("{CTRLDOWN}")

Send("{m DOWN}")

Sleep ( 1000 )

Send("{m Up}")

Send("{CTRLUP}")

Sleep ( 1000 )

send("{CTRLDOWN}")

Send("{z DOWN}")

Sleep ( 8000 )

thank you

Share this post


Link to post
Share on other sites
tinman

dont know exactly what u mean and i cant remeber its been along time since i use autoit... there was sumthin i put at the end of the script to make it lopp endlessly.

Share this post


Link to post
Share on other sites
Authenticity

That is putting your code inside While 1...WEnd and as for making it to stop you ca use HotKeySet.

Edited by Authenticity

Share this post


Link to post
Share on other sites
tinman

well i seen sum mistakes in my script and gotta change stuff but could you add sumthin onto that one in the message as an example i gotta go to work and want this work b4 i leave... i hate bein pressed for time everythin is hard and more complicated lol

Share this post


Link to post
Share on other sites
Authenticity

HotKeySet('{ESC}', '_EXIT')

While 1
    Sleep ( 5000 )
    Send("{CTRLDOWN}")
    Send("{m DOWN}")
    Sleep ( 1000 )
    Send("{m Up}")
    Send("{CTRLUP}")
    Sleep ( 60000 )
    Send("{CTRLDOWN}")
    Send("{m DOWN}")
    Sleep ( 1000 )
    Send("{m Up}")
    Send("{CTRLUP}")
    Sleep ( 1000 )
    send("{CTRLDOWN}")
    Send("{z DOWN}")
    Sleep ( 8000 )
WEnd

Func _EXIT()
    Exit
EndFunc

Does the Send("{CTRLDOWN}") Send("{m DOWN}")" work as intended?

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.