Zwettenduvel Posted 3 hours ago Posted 3 hours ago (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 3 hours ago by Zwettenduvel
Developers Jos Posted 3 hours ago Developers Posted 3 hours ago (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 3 hours ago 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 3 hours ago Author Posted 3 hours ago Thanks I fixed it Jos. May the force be with you.
Developers Jos Posted 2 hours ago Developers Posted 2 hours ago 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.
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