SnowCat Posted January 14, 2006 Share Posted January 14, 2006 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! Link to comment Share on other sites More sharing options...
BigDod Posted January 14, 2006 Share Posted January 14, 2006 HiSorry 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. 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 Link to comment Share on other sites More sharing options...
Stumpii Posted January 14, 2006 Share Posted January 14, 2006 (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 January 14, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now