Page 1 of 1

Send {Enter} to multiple Windows simultaneously

Posted: 03 Aug 2017, 11:32
by imse2121
I have 4 independent chrome windows and want to Send {Enter} to them for the purpose of submission simultaneously.

I have tried to use controlsend:

z::
ControlSend , , {Enter}, ahk_class Chrome_WidgetWin_1
ControlSend , , {Enter}, ahk_class Chrome_WidgetWin_1
ControlSend , , {Enter}, ahk_class Chrome_WidgetWin_1
ControlSend , , {Enter}, ahk_class Chrome_WidgetWin_1

But why it is not working?

https://image.ibb.co/ftV6zv/2017_08_04_002012.jpg

Re: Send {Enter} to multiple Windows simultaneously

Posted: 03 Aug 2017, 15:04
by tidbit
please don't post 4 times. it says "waiting for approval" when you submit it. spamming won't make it show up faster.

Re: Send {Enter} to multiple Windows simultaneously

Posted: 03 Aug 2017, 18:49
by Vh_
this is the same command repeated 4 times. if the WinTitles are different, try using those instead of the AHK class. If they are the same, rename them.