Jump to content

Recommended Posts

Posted

To PixelGetColor and MouseClick on not active window without makeing it active....

For mouseclick, yes it is possible (controlclick)

For PixelGetColor it's impossible

Posted

For mouseclick, yes it is possible (controlclick)

For PixelGetColor it's impossible

Tx 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 ?

Posted (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 by Paulie
Posted

Wouldn't clicking on an inactive window make it active by default?

With Mouseclick? Yes.

With ControlClick? No.

Posted

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
Posted

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 ...

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...