Unfortunately immediately the script is launched, #{Space} is pressed although WhatsApp is not active
When I made WhatsApp active, #{Space} is not pressed
Anything wrong with the code ?
Code: Select all
if WinActive("ahk_exe WhatsApp.exe")
Send #{Space}