02-02-2021, 11:19 PM
At least I found the Solution how to start macros from python script and it starting to work pretty well!
screenshot .py file
screenshot .bat file who starts the actual screenshot macro that sends a screenshot to my telegram
screenshot .py file
#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