I wanna send a Space key press to a window class called
SpotifyMainWindow using hoekey, here's my config:
It won't work. Did anybody know why?
I tried directly call Win32 API
SpotifyMainWindow using hoekey, here's my config:
Code
^@F12=Msg|SpotifyMainWindow|256|32|0It won't work. Did anybody know why?
I tried directly call Win32 API
Code
SendMessage(hWnd_SpotifyMainWindow, WM_KEYDOWN, VK_SPACE, NULL) and it works fine.

