Jump to content

Recommended Posts

Posted

I'm not sure which coords is this in the Autoit Info Tool.

What I want to do is check if the color of a certain point in an inactive window is red. What I used to do is (with the application the active window):

$color = PixelGetColor( 10 , 100 )

If $color = red Then

Send("4")

Send("e")

Else

Sleep(2000)

EndIf

I want it to check the coords of the inactive window. I'm just not sure how to go about it. Any help would be appreciated. :)

Posted

i haven't found any document about this, but i think you can active the window first then get the color

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

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
×
×
  • Create New...