This commit is contained in:
2025-05-05 17:10:26 +02:00
parent 25e05af7f7
commit 19d83844ae

View File

@@ -699,7 +699,7 @@ def on_message(client, userdata, msg):
writeLog(output) writeLog(output)
if myObj["cmd"] == "display": if myObj["cmd"] == "display":
if curos == "Windows": if curos == "Windows":
myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\monitors\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \"" myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\\monitors\\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \""
writeLog(myCmd) writeLog(myCmd)
#myCmd = f"MultiMonitorTool.exe /LoadConfig \"c:\\Program Files\\jaydee\\Monitors\\{myObj["target"]}.cfg\"" #myCmd = f"MultiMonitorTool.exe /LoadConfig \"c:\\Program Files\\jaydee\\Monitors\\{myObj["target"]}.cfg\""
#writeLog(myCmd) #writeLog(myCmd)