My problem is that it isn't working for me without first activating chrome, which defeats the purpose of ControlSend. Any help would be appreciated!
My code:
Code: Select all
#NoEnv
#SingleInstance, Force
;#Persistent
SetTitleMatchMode, RegEx
RAlt::
WinActivate, Google Chrome ;<<<Without this line, Option 1 or 2 will not send anything to Chrome
;ControlSend, Chrome_RenderWidgetHostHWND1,{Down},Google Chrome ;<< OPTION 1
ControlSend,,{Down},Google Chrome ;<<< OPTION 2
Return