P
P
petrushik2021-10-28 01:48:40
Python
petrushik, 2021-10-28 01:48:40

How to send commands to a minimized application?

The task is this: you need the script to send commands (like keystrokes, buttons) to an application that is minimized (in the background) on windows. pyautogui can handle the task, but it only works with active windows in the foreground, and you need to send commands to the background window.
They advised pywinauto, but I tried everything from the documentation - something does not work out.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question