demandnothing Posted September 19, 2009 Share Posted September 19, 2009 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? Link to comment Share on other sites More sharing options...
colafrysen Posted September 19, 2009 Share Posted September 19, 2009 Well your title made me so eager to reply 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] Link to comment Share on other sites More sharing options...
Mat Posted September 19, 2009 Share Posted September 19, 2009 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 AutoIt Project Listing Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 19, 2009 Moderators Share Posted September 19, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts