Sign in to follow this  
Followers 0
demandnothing

EXPERT HELP NEEDED!

4 posts in this topic

i want a script that will tell me how many pixels a color is away from the center of my screen.. how do i do that?

Share this post


Link to post
Share on other sites



Well your title made me so eager to reply :D

Do a pixelsearch to find out the coords of the pixel, then devide your @ DesktopWidth And @DesktopHeight by 2 to get the X, and Y coords for the center.

From this point, use some basic trigonometry to find out how far away it is


[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]

Share this post


Link to post
Share on other sites

rather ironically, your display name is demandnothing. Yet I see your first 2 words of the post are "I want"...

Anyhow... its easy, do it yourself

Mat

Share this post


Link to post
Share on other sites

With titles like this, they don't deserved to be answered.

Closing - I wouldn't start another thread with something so stupid again.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0