-
- print('running runscriptqueue.py remotely')
- from time import sleep
- import pyautogui
-
-
- queue_name = 'moneymaker'
-
-
- def tabber(y):
- for x in range(int(y)):
- pyautogui.hotkey('TAB')
-
- def script_queue_run():
- # click the view button
- pyautogui.click(135, 31)
- # click script queue
- pyautogui.click(181, 97)
- # click file
- sleep(1)
- pyautogui.click(637, 124)
- # click load_queue
- sleep(1)
- pyautogui.click(670, 170)
- # type the queue_name that we want to run
- pyautogui.typewrite(queue_name + '.dat')
- # load the script_queue
- sleep(1)
- tabber(y=2)
- pyautogui.hotkey('ENTER')
- # start the script_queue
- sleep(1)
- tabber(y=7)
- pyautogui.hotkey('ENTER')
-
- if __name__ == "_main__":
- script_queue_run()
-