Jump to content

Automating one window without affecting rest of system


palindrome
 Share

Recommended Posts

I'm using AutoIt, specifically the AutoItX3.dll, with my C# program, to automate a particular window. I'm interested in automating that window only and not affecting the rest of the system. E.g. when the target window gets a mouse click or mouse move through AutoIt, i can continue using the real mouse in another window as usual without interruption. Is this possible? If not, is there another tool that can let me do this?

Link to comment
Share on other sites

I'm using AutoIt, specifically the AutoItX3.dll, with my C# program, to automate a particular window. I'm interested in automating that window only and not affecting the rest of the system. E.g. when the target window gets a mouse click or mouse move through AutoIt, i can continue using the real mouse in another window as usual without interruption. Is this possible? If not, is there another tool that can let me do this?

Not too sure what you are asking here. You can't have two mouse actions at the same time. The window that has focus is the window that will recieve the mouse action. Are you possibly thinking of Control* functions?

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

Not too sure what you are asking here. You can't have two mouse actions at the same time. The window that has focus is the window that will recieve the mouse action. Are you possibly thinking of Control* functions?

I'm asking for one particular window to observe the fake mouse and keyboard activities from AutoIt so that it behaves as if they really happened, while the rest of the system respond only to the real mouse and keyboard activities from the real mouse and keyboard. I guess you're saying that AutoIt can't do this, then. I know that such things can be done because I've seen seen them happen with certain programs. You may not see the mouse move around, but the program being automated is indeed observing the fake activity and responding accordingly. In fact, I've seen one tool apparently minimizing the target window and still having the automation going on.
Link to comment
Share on other sites

I'm asking for one particular window to observe the fake mouse and keyboard activities from AutoIt so that it behaves as if they really happened, while the rest of the system respond only to the real mouse and keyboard activities from the real mouse and keyboard. I guess you're saying that AutoIt can't do this, then. I know that such things can be done because I've seen seen them happen with certain programs. You may not see the mouse move around, but the program being automated is indeed observing the fake activity and responding accordingly. In fact, I've seen one tool apparently minimizing the target window and still having the automation going on.

Try looking at some of the Control* functions like ControlClick()

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

You can but you need to create a virtual mouse. You don't need it to show a cursor but then you can have two or more at one time. Just you cannot have a minimized or you don't see that action. You can however place it outside the visual placement and have it still function with every situation.

0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E

Link to comment
Share on other sites

You can but you need to create a virtual mouse. You don't need it to show a cursor but then you can have two or more at one time. Just you cannot have a minimized or you don't see that action. You can however place it outside the visual placement and have it still function with every situation.

Do you have some details on how to do this?
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...