Peper Posted January 28, 2007 Share Posted January 28, 2007 To PixelGetColor and MouseClick on not active window without makeing it active.... Link to comment Share on other sites More sharing options...
newb_powa' Posted January 28, 2007 Share Posted January 28, 2007 To PixelGetColor and MouseClick on not active window without makeing it active....For mouseclick, yes it is possible (controlclick)For PixelGetColor it's impossible Link to comment Share on other sites More sharing options...
Peper Posted January 28, 2007 Author Share Posted January 28, 2007 For mouseclick, yes it is possible (controlclick)For PixelGetColor it's impossibleTx for the quick answer:)But with controlclick I can't give the x/y coordinates to move the mouse to...Is there any other way ? Link to comment Share on other sites More sharing options...
Paulie Posted January 28, 2007 Share Posted January 28, 2007 (edited) But with controlclick I can't give the x/y coordinates to move the mouse to...Is there any other way ?You don't use x/y coords with control click, you use the autoit Window info tool to get the control you are trying to click on (Button, Input, Checkbox,etc.)And i think pixel get color doesn't need the window to be active, but it does need it to be visible (ie. Not minimized or behind another window) Edited January 28, 2007 by Paulie Link to comment Share on other sites More sharing options...
BALA Posted January 28, 2007 Share Posted January 28, 2007 Wouldn't clicking on an inactive window make it active by default? [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Paulie Posted January 28, 2007 Share Posted January 28, 2007 Wouldn't clicking on an inactive window make it active by default?With Mouseclick? Yes.With ControlClick? No. Link to comment Share on other sites More sharing options...
BALA Posted January 28, 2007 Share Posted January 28, 2007 With Mouseclick? Yes.With ControlClick? No.I don't think ControlClick is going to be very accurate.From helpfile: Simulating a click on a control is only 100% accurate when the control's parent window is active - this is done automatically. Nothing will occurs if the control is disabled. [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Peper Posted January 28, 2007 Author Share Posted January 28, 2007 You don't use x/y coords with control click, you use the autoit Window info tool to get the control you are trying to click on (Button, Input, Checkbox,etc.)Yes but if there does't exists any controlid's ?Any buttons etc ...And i think pixel get color doesn't need the window to be active, but it does need it to be visible (ie. Not minimized or behind another window)I don't think soo, U can only give as parameters x/y coords...If window is minimalized u would get pixelcolor of any backgrounded window ... Link to comment Share on other sites More sharing options...
Shevilie Posted January 28, 2007 Share Posted January 28, 2007 To PixelGetColor and MouseClick on not active window without makeing it active....Well the PixelGetColor should be possible as long as you can see the window, it doesnt need to be active - but visible Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit 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