usser

Manipulate elements without focusing on their window

7 posts in this topic

#1 ·  Posted

Hello!

Is it possible to manipulate elements, eg fill a textbox with text or select a listbox entry, in both Windows apps and Webpages, without focusing on them?

 

I want to really multitask, ie send clicks and text to other windows, while manipulating other windows via AutoIt.

 

thanks!

Share this post


Link to post
Share on other sites



#2 ·  Posted

ControlSend, ControlClick, ControlSetText?

Share this post


Link to post
Share on other sites

#3 ·  Posted

51 minutes ago, Nikolas92 said:

ControlSend, ControlClick, ControlSetText?

I was under the impression that these functions also required the Window containing the controls the functions are manipulating needed to be in focus in order for the manipulation to take effect.  

Share this post


Link to post
Share on other sites

#4 ·  Posted

54 minutes ago, whiggs said:

I was under the impression that these functions also required the Window containing the controls the functions are manipulating needed to be in focus in order for the manipulation to take effect.  

Any definite answer please?

Share this post


Link to post
Share on other sites

#5 ·  Posted

Just now, usser said:

Any definite answer please?

Have you actually tried a test case to see if the original answer you were given is not valid?

Share this post


Link to post
Share on other sites

#6 ·  Posted

8 hours ago, whiggs said:

Have you actually tried a test case to see if the original answer you were given is not valid?

 

not yet, also any testing I may attempt may not catch an issue (eg clicks not interfering at that time)

Share this post


Link to post
Share on other sites

#7 ·  Posted

Generally, if it works in the test case, it will work the way you want it.  I say generally because nothings perfect and there will always be hiccups.

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