0

I have created a task in conemu which launches 3 consoles and ssh to 3 different servers. I would like to also 'group inputs' directly when launching this new task.

Right now, I need to press Apps+G once the 3 consoles are up in order to be able to run the same command in all three consoles.

Is there a way to get Apps+G to be called when launching the task without I having to do it ?

tvee
  • 41
  • 1
  • Create fourth console with [GuiMacro](http://conemu.github.io/en/GuiMacro.html) command – Maximus Dec 08 '17 at 15:26
  • Hi Maximus, could you elaborate a bit more ? A simplistic example/sample would be just great :) Thanks, – tvee Dec 11 '17 at 08:34

1 Answers1

0

Supposing you start three cmd.exe consoles. First one would be active. Last line executes GuiMacro and immediately terminates.

>cmd.exe /k "%ConEmuBaseDir%\CmdInit.cmd"
cmd.exe /k "%ConEmuBaseDir%\CmdInit.cmd"
cmd.exe /k "%ConEmuBaseDir%\CmdInit.cmd"
cmd /c -cur_console:n ConEmuC -GuiMacro GroupInput 4
Maximus
  • 10,751
  • 8
  • 47
  • 65