import pyautogui import time def open_rustdesk_gui(): print("Opening RustDesk...") # Move to bottom-left (adjust this if needed) pyautogui.moveTo(10, pyautogui.size().height - 10) time.sleep(0.5) # Click the menu/search/start button pyautogui.click() time.sleep(1) # Type 'ru' or 'rustdesk' pyautogui.write('rus', interval=0.1) time.sleep(1) # Press Enter to launch it pyautogui.press('enter') open_rustdesk_gui()