Search found 5 matches
- 17 Jul 2017, 11:20
- Forum: Ask for Help (v1)
- Topic: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
- Replies: 7
- Views: 2687
Re: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
Remappings in AutoHotkey are implemented by registering a hook through a Windows api, not by changing the registry. The hooks then calls to a running AHK process on each input event. So when the process ends the hook cannot call the function that remaps the key, and the hook times out and automatic...
- 17 Jul 2017, 08:04
- Forum: Ask for Help (v1)
- Topic: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
- Replies: 7
- Views: 2687
Re: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
After trying messing up with my windows registry I said fuck it, and I tried using SharpKeys(https://github.com/randyrants/sharpkeys/releases), and I finally fixed the mapping problem after modifying the registry with that. It's definitely a bug of AHK leaving the hooks in the air like that. Not gon...
- 17 Jul 2017, 06:59
- Forum: Ask for Help (v1)
- Topic: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
- Replies: 7
- Views: 2687
Re: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
Try using this in your original script: .... This should suspend all keys before exiting. If this doesn't work, then uninstall and reinstall AHK. That's my best guess. I tried running your script again and it doesn't do anything, the w is still acting as up arrow after exiting and during the script...
- 17 Jul 2017, 06:42
- Forum: Ask for Help (v1)
- Topic: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
- Replies: 7
- Views: 2687
Re: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
Make sure you don't have any other scripts or programs that are open that change the "w" key. A simple solution would be to revert the key back to normal: w::SendInput w ;Sends "instantly" instead of waiting Should I just make a new script and run it? I tried your code in a script and it doesn't wo...
- 17 Jul 2017, 06:15
- Forum: Ask for Help (v1)
- Topic: How to reset my "w" & "W" keys to default in my keyboard in Windows 7
- Replies: 7
- Views: 2687
How to reset my "w" & "W" keys to default in my keyboard in Windows 7
I was using a script to play "Tomb Raider: The last revelation" with asdw movements instead of the arrow keys which is awkward in PC. This is the script I was using: w::up a::left s::down d::right r::z After a game session, I exit the game and pressed exit option in the autohotkey icon in the system...