I need to send the "f5" keystroke to a specific application once every 60 seconds. The application remains running in a fixed position on one of three screens.
Is there any way to automate this keystroke without having to remain in focus?
I need to send the "f5" keystroke to a specific application once every 60 seconds. The application remains running in a fixed position on one of three screens.
Is there any way to automate this keystroke without having to remain in focus?
import pyautogui
import time
while True:
pyautogui.press('f5')
time.sleep(60)