-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "" is not a valid key name #17
Comments
Hmm it's weird that it's not consistent. Do you have any macros not bound to valid keys (or commented them out)? If you don't want a particular thing bound, bind it to something like F24, it will (and should consistently) fail with invalid keys though. |
yeah, its quite strange. I feel like it has to do with including custom configs from separate files. Some weird race condition or something. I pasted my custom config inline, and commented out the #Include and all behaves as expected. I'm going to spend a bit more time debugging, but I'd rather play the game for now ;) |
Yeah no problem have fun first, work later :) These kind of errors suck because I can't reproduce it. Maybe a small sleep (50-100ms) before/after the include can iron out whatever is going on |
I tried with sleeps (actually used 1000ms) before and after the #Include line, and that didn't resolve the issue. The only thing that works 100% of the time (so far) is to put all my configs in with the main code. I wonder if this is an issue with ahk, will continue to search and test. |
Sometimes I get an error that says "" is not a valid key name, and the thread exits. Any idea why this is happening? It's not consistent, the same code may or may not trigger this.
The text was updated successfully, but these errors were encountered: