Jump to content
Sign in to follow this  
GarySmith

Multiple window/windowless support

Recommended Posts

GarySmith

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.

 

Share this post


Link to post
Share on other sites
JohnOne

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.

Share this post


Link to post
Share on other sites
GarySmith

I'll have to try it, but it looks like that's sort of what I'm looking for.  I can easily put it into a loop which shouldn't be a problem.

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  

×