I have this following script:
The idea is that I always have qBittorrent.exe running wether it is in the taskbar or the window is active.
I want the script to find that window (qbittorrent) bring it to the front (since the key combination won't work unless qbittorrent is active) and execute CTRL+SHIFT+P or CTRL+SHIFT+S. And after that optionally hide the window again if it was hidden. However I am not able to show the window let alone hide it.
I am having a little of trouble since the script is working when the window is minimized but not when the window is in the taskbar (you know this small icon to the right next to the clock).
Appreciate any help, thank you!