|
|
@ -134,3 +134,13 @@ def SessionScreen100x550(inSessionHex):
|
|
|
|
lRDPWindow.restore()
|
|
|
|
lRDPWindow.restore()
|
|
|
|
lRDPWindow.move_window(10,10,550,100)
|
|
|
|
lRDPWindow.move_window(10,10,550,100)
|
|
|
|
return None
|
|
|
|
return None
|
|
|
|
|
|
|
|
import keyboard
|
|
|
|
|
|
|
|
import time
|
|
|
|
|
|
|
|
#Type command in CMD
|
|
|
|
|
|
|
|
def SessionCMDRun(inSessionHex,inCMDCommandStr):
|
|
|
|
|
|
|
|
SessionScreenFull(inSessionHex)
|
|
|
|
|
|
|
|
keyboard.press_and_release('win+r')
|
|
|
|
|
|
|
|
time.sleep(2)
|
|
|
|
|
|
|
|
keyboard.write(f"cmd {inCMDCommandStr}")
|
|
|
|
|
|
|
|
keyboard.press_and_release('enter')
|
|
|
|
|
|
|
|
SessionScreen100x550(inSessionHex)
|