I want to run a script automatically when an application start. How would I do this without making the script run at start-up?
My current approach is writing a script with an infinite loop and made it run at start-up. Then let it check if a certain app is running.