Jump to content

2 actions at the same time


Recommended Posts

I'd like to ask how can I make 2 actions at a time ? Let's say I want to move the mouse somewhere and while it is moving to there the key L is pressed and hold until the mouse go to that position. I tried to first mousemove and then send the key but it first mousemoved and then pressed the key just like as I expected. I tried doing with the recorder but it only gave me this :

Send("aMouseMove(341, 783)) and it wasn't even full , there weren't braces at the end . Thanks in advance :)

Link to comment
Share on other sites

  • Moderators

Hi, DareDev1l. As AutoIt is not truly multithreaded, this is not an easy thing to accomplish. AutoIt processes one command at a time. If you search the forum for "multithread" there are a lot of folks who have come up with various workarounds to this issue. You might find one that suits your needs.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...