selectedClients=[]
nrClients= rr.clientAll_count()
for c in range(0, nrClients):
    if (rr.clientAll_get(c).isSelected()):
        selectedClients.append(rr.clientAll_get(c).listIdx)

CmdLine=          '"c:\\Program Files\\MAXON\\CINEMA 4D 2026\\CINEMA 4D TeamRender Client.exe"'


if not rr.clientSendCommand(selectedClients ,rrGlobal._ClientCommand.cCommandLine, CmdLine):
    rrGlobal.messageBox(rrGlobal.logLvL.warning, "Unable to send command to client")
else:
    rrGlobal.messageBox(rrGlobal.logLvL.info, "Command send")





