Justchris25 Posted August 21, 2008 Share Posted August 21, 2008 Hi, I dont know whats up with pixelgetcolor. Did they change it recently? I used to be able to use the windows info tool to get the color but now its not working. Example: $var = Pixelgetcolor (50, 50) if $var = "0xFF0305" then mousemove (50, 50) endif This does not work anymore? Can someone explain how I get the colors if I cant get them with the info tool. Do I HAVE to use decimals now instead? And if i have to use decimals or hex can someone explain where I can get those without running another script? Seems like thats a step backwards Thanks in advance. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 21, 2008 Moderators Share Posted August 21, 2008 (edited) Hi, I dont know whats up with pixelgetcolor. Did they change it recently? I used to be able to use the windows info tool to get the color but now its not working. Example: $var = Pixelgetcolor (50, 50) if $var = "0xFF0305" then mousemove (50, 50) endif This does not work anymore? Can someone explain how I get the colors if I cant get them with the info tool. Do I HAVE to use decimals now instead? And if i have to use decimals or hex can someone explain where I can get those without running another script? Seems like thats a step backwards Thanks in advance.Don't think it ever worked with quotes.$var = Pixelgetcolor (50, 50) if ($var == 0xFF0305) then mousemove (50, 50) endif Edited August 21, 2008 by SmOke_N 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...
Justchris25 Posted August 21, 2008 Author Share Posted August 21, 2008 Hmm.. I'm not sure what I was doing wrong but I got it. And I am using quotes. Maybe a typo on my part, weird Thanks for the help anyway 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