0

This Autohotkey script works great as a remap for Alt+Tab. However, I've noticed that it also still outputs a Space the moment Tab is pressed down (with Space still held down). This typically is not a problem except when moving out of applications in which Space has a function, e.g. it will pause music in Spotify. How can I avoid that?

~Space & Tab::AltTab

1 Answers1

1

The tilde prefix (~) prevents AHK from blocking the Space key-down/up events. It allows the key event to pass through.

If you remove ~, Space loses its original function. To avoid this, make the Space key to send itself:

Space & Tab::AltTab

Space::Send {Space}
user3419297
  • 9,537
  • 2
  • 15
  • 24