9 lines
370 B
Python
9 lines
370 B
Python
import os
|
|
|
|
def scriptRun(batchcode):
|
|
sshCommand(f"vrtest@gaming-pc 'echo {batchcode} > script.bat && schtasks /Run /TN script'")
|
|
def monProfile(profile):
|
|
scriptRun(f"D:/scripts/MonitorProfileSwitcher_v0700/MonitorSwitcher.exe -load:C:/Users/vrtest/AppData/Roaming/MonitorSwitcher/Profiles/{profile}.xml")
|
|
def sshCommand(command):
|
|
os.system(f"ssh {command}")
|