Jump to content
Sign in to follow this  
GunloK

need help with script

Recommended Posts

GunloK

Hi!

I don't know anything about writing scripts, so i need to ask for help.

I think it would be very simple.

It should work like that:

There are two buttons: eg. F1 and F2.

F1 should be pressed one time every 10 seconds and F2 all the time (2-3 times in second)

Is it simple ?

BTW.

MERRY CHRISTMAS !!!

Edited by GunloK

Share this post


Link to post
Share on other sites
poisonkiller

Try this:

Opt("SendKeyDelay", 1)
While 1
Send("{F1}")
For $i = 1 to 10
Send("{F2}")
Sleep(498)
Send("{F2}")
Sleep(498)
Next
Wend

I dont have time to test it so it may not work...

Edited by poisonkiller

Share this post


Link to post
Share on other sites
GunloK

works great! thank you!

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  

×