Reputation: 51
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 ?
Upvotes: 0
Views: 394
Reputation: 10845
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
Upvotes: 0