Zwettenduvel Posted September 26 Posted September 26 (edited) Why do I get "Variable used without being declared" here for $Hoek1Noord[0]? The variable is literaly used for pixelgelcolor? HotKeySet("q", "Hoek1Noord") HotKeySet("{ESC}", "Terminate") Global $colorHoek1Noord Global $colorHoek2Noord Func Terminate() Exit 1 EndFunc Func Hoek1Noord() $Hoek1Noord = MouseGetPos() sleep(10) $colorHoek1Noord = PixelGetColor($Hoek1Noord[0], $Hoek1Noord[1]) EndFunc Do sleep(10) Until $colorHoek1Noord = True sleep(1000) Mousemove($Hoek1Noord[0],$Hoek1Noord[1]) Edited September 26 by Zwettenduvel
Developers Jos Posted September 26 Developers Posted September 26 (edited) 16 minutes ago, Zwettenduvel said: The variable is literaly used for pixelgelcolor? But part of a func, so no garantee it was created there. This script has a games vipe ...right? Edited September 26 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.
Zwettenduvel Posted September 26 Author Posted September 26 Thanks I fixed it Jos. May the force be with you.
Developers Jos Posted September 26 Developers Posted September 26 You're welcome, but you didn't give an answer, so I guess I was right? 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.
rudi Posted September 30 Posted September 30 @Jos the force is with you -- so no guessing, but knowing 😇 Earth is flat, pigs can fly, and Nuclear Power is SAFE!
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