Send {Enter} to multiple Windows simultaneously

Get help with using AutoHotkey and its commands and hotkeys
imse2121
Posts: 1
Joined: 03 Aug 2017, 11:15

Send {Enter} to multiple Windows simultaneously

03 Aug 2017, 11:32

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
User avatar
tidbit
Posts: 1088
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Send {Enter} to multiple Windows simultaneously

03 Aug 2017, 15:04

please don't post 4 times. it says "waiting for approval" when you submit it. spamming won't make it show up faster.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
Vh_
Posts: 185
Joined: 17 Mar 2017, 22:06

Re: Send {Enter} to multiple Windows simultaneously

03 Aug 2017, 18:49

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.

Return to “Ask For Help”

Who is online

Users browsing this forum: AlleyArtwork, Flipeador, newbieforever, Rindis and 21 guests