I have a script that is continually opening a new window of an App and then that window closes and the process repeats. However, even if I click Hide on the App, it only hides the window open at that time and all future windows still pop up in front of everything else that I'm doing.
If I assign the App to another Desktop, it switches to that Desktop every time a new window from the App opens. I basically can't do anything else on the computer while the script is running.
For reference, the App is being opened through an Automator Folder Action, so perhaps there is something I can set there. The app is ABBYY FineReader.