Code: Select all
Esc & w::do_something()
Esc & a::do_something()
Esc & s::do_something()
Esc & d::do_something()
!w::do_something()
!a::do_something()
!s::do_something()
!d::do_something()
#IfWinActive ahk_class SUSPEND_THEM
~Esc & w::return // This line cause Esc & w send nothing, it should send char 'w'.
~Esc & a::return // This line cause Esc & a send nothing, it should send char 'a'.
~Esc & s::return // This line cause Esc & s send nothing, it should send char 's'.
~Esc & d::return // This line cause Esc & d send nothing, it should send char 'd'.
~!w::return // This line works perfectly
~!a::return // This line works perfectly
~!s::return // This line works perfectly
~!d::return // This line works perfectly
#If
then when I press Esc & w/a/s/d, it should send 'w/a/s/d'. but it didn't.
Why !? Am I doing something wrong !?