//description of your code hereUsesthe new COMTaskSchedulerInterfaceto create a new disabled scheduled task,then run it onceaspart of a script.Usethis to launch interactive tasks,even remotely.importwin32com.client
computer_name=""#leave all blank for current computer, current usercomputer_username=""computer_userdomain=""computer_password=""action_id="Test Task"#arbitrary action IDaction_path=r"c:\windows\system32\calc.exe"#executable path (could be python.exe)action_arguments=r''#arguments (could be something.py)action_workdir=r"c:\windows\system32"#working directory for action executableauthor="Someone"#so that end users know who you aredescription="testing task"#so that end users can identify the tasktask_id="Test Task"task_hidden=False#set this to True to hide the task in the interfaceusername="&