Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remotecontrol a Computer with QM and Siri?
#3
At least I found the Solution how to start macros from python script and it starting to work pretty well!

screenshot .py file
Code:
Copy      Help
#You can import any required modules here

#This can be anything you want
moduleName = "screen"

#All of the words must be heard in order for this module to be executed
commandWords = ["screen"]

def execute(command):
    import subprocess
    subprocess.call([r'C:\Users\username\AppData\Local\Programs\Python\Python39\userscripts\SiriControl\modules\screen.bat'])
    return


screenshot .bat file who starts the actual screenshot macro that sends a screenshot to my telegram
Code:
Copy      Help
"C:\Program Files (x86)\Quick Macros 2\qmcl.exe" M "{685e09af-2468-4a20-9696-8b7f032f7f98}screentotm"
timeout /T 1
exit


Messages In This Thread
RE: Remotecontrol a Computer with QM and Siri? - by Remotehorst23 - 02-02-2021, 11:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)