im trying to automate a program on windows 10 using python, i already did it but the problem is that if my program is running i cant use my pc, so i was looking for a way to send mouse clicks and key strokes to a minimized/ unfocused window (so i can use my pc while my program is running on the background you get the idea), i was trying to use pywinauto in order to not use a more complicated library like win32api (im not a pro - im just a medicine student with too much free time) but with no luck. if some of you can be so kind an show me a way to do it, at this time i have like 2 month trying to acomplish this so i dont care if the examples use win32api as long as it is well explained (you know kindergarden like LOL).
by the way im working on python 3.
thanks in advance and sorry for my bad english it is not my native language.