Cerb Posted December 11, 2003 Share Posted December 11, 2003 $x = 595 $y = 417 $var = PixelGetColor($x,$y) MsgBox(0,"",$var[0] & "," & $var[1]) Error, subscript used with non-array variable. ??? Link to comment Share on other sites More sharing options...
Cerb Posted December 11, 2003 Author Share Posted December 11, 2003 Yes I am, but why doesn't it work? I mean, its a coord like any other...? Link to comment Share on other sites More sharing options...
Cerb Posted December 12, 2003 Author Share Posted December 12, 2003 My window is 806x632 and I am running windows under 1024x768... Link to comment Share on other sites More sharing options...
Cerb Posted December 12, 2003 Author Share Posted December 12, 2003 Now, this is really bugged AutoItSetOption("PixelCoordMode",1) $x = 595 $y = 417 $var = PixelGetColor($x,$y) MsgBox(0,$var[0],$var[1]) This code gives me the same error. Link to comment Share on other sites More sharing options...
CyberSlug Posted December 12, 2003 Share Posted December 12, 2003 I think you are confusing PixelGetColor and PixelSearch. PixelGetColor does not return an array; PixelSearch does. Hope that helps Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Cerb Posted December 12, 2003 Author Share Posted December 12, 2003 holy fuck lol I am sorry, I didnt have a slightest idea of what i have been doing... lmao sorry for this Link to comment Share on other sites More sharing options...
-TS- Posted December 12, 2003 Share Posted December 12, 2003 o my lotta diablo players her 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