Jump to content
Sign in to follow this  
Petka

need some help with key names, and delays

Recommended Posts

Petka

Hello

how to make keys delay?

i was trying to make this:

when i press middle mouse (need corect name for this, couse its not left or right, autoit dont read middle)

it sends "1"

then "2"

and keeps sending 1-2 till middle mouse is pressed,

need to have delays ~60 ms before each send

can some1 help?

Share this post


Link to post
Share on other sites
JohnQSmith

You would use the Sleep() function. What program are you sending the buttons to with this, maybe we can help more?


Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Share this post


Link to post
Share on other sites
Petka

MuOnline,

how the middle mouse is called in autoit?

While _IsPressed("03") send(1)

sleep(60)

send(2)

sleed(70)

Wend

Edited by Petka

Share this post


Link to post
Share on other sites
JohnQSmith

MuOnline, huh? You should check here and read the part about games. It's really interesting.


Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Share this post


Link to post
Share on other sites
Realm

Hello Petka,

Any discussion of automating games or game servers is strictly forbidden here, as per the forum rules found here.


My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.  

Share this post


Link to post
Share on other sites
Valik

Locked.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×