mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
klal
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user