Examples of code used include:
pyautogui.typewrite('q')
pyautogui.press('F1')
pyautogui.keyDown('f1')
time.sleep(0.1)
pyautogui.keyUp('f1')
Code examples function in other applications, as stated.
If anyone's tried this with python and could offer any pointers I'd be much obliged!
Python's pyautogui typewrite, hotkey and press functions don't seem to like openRA!
I enjoy messing around with python and I thought it would be fun to write some code to automate a skirmish! As stated in the title, pyautogui's library's keyboard functions don't seem to function in the game (they work in all other situations I've tried!)
-
- Posts: 2
- Joined: Thu Nov 15, 2018 4:46 am
Re: Python's pyautogui typewrite, hotkey and press functions don't seem to like openRA!
I tried what you said and still don't see it