1

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?

Rodrigue
  • 3,617
  • 2
  • 37
  • 49
user3743054
  • 11
  • 1
  • 2

1 Answers1

0
import pyautogui
import time 

while True:
    pyautogui.press('f5')
    time.sleep(60) 
ProgSnob
  • 483
  • 1
  • 9
  • 20