Jump to content

Multiple window/windowless support


Go to solution Solved by JohnOne,

Recommended Posts

I'm interested in the best way to send commands to 5 applications at the same time.  I have written some test scripts for doing some on screen clicking and typing, but I'm finding that I'm having to switch to each window one after another and repeating the loop.  I'm running into an issue bringing each application to the foreground.  Alternatively, if I could send the mouse/text commands to the applications that are minimized (as well as reading their triggers), that would actually work better.

I have only found one thread but it seems like that thread was killed because of other content on the subject.

I would also like to know if it's possible to run this in the background without affecting my normal computer interactions.  Currently, when I'm running the script, I lose control of my mouse and if I click somewhere, the text gets typed in the wrong place.

 

Link to comment
Share on other sites

  • Solution

AutoIt3 is a single threaded language, that means it does 1 thing at a time.

Look at getting shut of Mouse*() Functions and Send(), and instead using Control*() Functions.

ControlClick
ControlSend
ControlSetText

I am guessing might best suit your needs.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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...