Sign in to follow this  
Followers 0
SnowCat

Sending data to minimized window?

3 posts in this topic

Hi

Sorry if it was asked before (i didnt find anything similar tho)

But is it possible to send information (like {ENTER} or mouseclicks) to a window that is minimized?

And to get the color of a pixel from the minimized window? (or not minimized, just not the currently active window?)

And if it cant be done with autoit then can you tell me what language can do this?

Thank you!

Share this post


Link to post
Share on other sites



Hi

Sorry if it was asked before (i didnt find anything similar tho)

But is it possible to send information (like {ENTER} or mouseclicks) to a window that is minimized?

And to get the color of a pixel from the minimized window? (or not minimized, just not the currently active window?)

And if it cant be done with autoit then can you tell me what language can do this?

Thank you!

You can send stuff to non-active windows using ControlSend or ControlClick. Use the AutoIt Window Info tool to get the names of the controls that you wish to interact with. I am not sure about the pixel colour part of your question. Someone else will have to help with that.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

The pixel functions are based on the screen, not a particular window, so you cannot check a pixel on a window that is minimised.

Edit: You may be able to move the window to coordinates outside of the desktop and use a pixel check on the extended area. Never tried it, but it may work.

Edited by Stumpii

“Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.

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  
Followers 0