W4rrior Posted May 11, 2021 Share Posted May 11, 2021 Hello i have this : Global $couleurPreuveRessourceNonCollecte[2]=["0xC6C6C4","0x6C6A67"] $useless = PixelSearch($x + 20, $y - 50, $x + 100, $y + 10, $couleurPreuveRessource[0],1) _ArrayDisplay($useless) Global $iColor = PixelGetColor($useless[0], $useless[1]) If Not @error Then MsgBox("", "", "Succees 1") ) EndIf But i have this error : But i have this error : ) (334): ==> Subscript used on non-accessible variable Local $iColor = PixelGetColor($useless[0], $useless[1]) 1st - i think i need show what color is taken, but i can't with this error. Can you help me please ? Link to comment Share on other sites More sharing options...
dmob Posted May 11, 2021 Share Posted May 11, 2021 Check error after PixelSearch. Does ArrayDisplay show anything? Link to comment Share on other sites More sharing options...
W4rrior Posted May 11, 2021 Author Share Posted May 11, 2021 My zone for search pixel need to stay mouse on button for show popup. And i search in popup one pixel $x = 500 $y = 265 While 1 MouseMove($x, $y) PixelSearch($x + 20, $y - 50, $x + 100, $y + 10, 0x787871) If Not @error Then MsgBox("","", "ok pixel found") EndIf WEnd For more info ask me THX Link to comment Share on other sites More sharing options...
Developers Jos Posted May 11, 2021 Developers Share Posted May 11, 2021 @W4rrior, or should I say @YuChan, the account I banned due to not responding to my request while having read it? I see you are still doing a similar thing, being posting the same question at different places. So what made you think you could just create a new account and get away with it? @All others: Please stay out for the moment. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
major_lee Posted May 11, 2021 Share Posted May 11, 2021 (edited) -snip - Edited May 11, 2021 by Jos Stay out means no posts should be made Link to comment Share on other sites More sharing options...
Developers Jos Posted May 11, 2021 Developers Share Posted May 11, 2021 (edited) 3 hours ago, Jos said: @All others: Please stay out for the moment. @major_lee Which part of that statement was unclear to you? Just stay out please until we give the all-OK! Edited May 11, 2021 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
major_lee Posted May 11, 2021 Share Posted May 11, 2021 1 minute ago, Jos said: @major_lee Which part of t hat statement was unclear to you? Just stay out please until we give the all-OK! I didn't even see that. Link to comment Share on other sites More sharing options...
Recommended Posts