I need a terminal command to open a program, wait about 10 seconds, and then close it, and keep doing that on a loop. Is there any way to do that? Thanks!
Thanks for the reply, I tried it but it said the app didn't exist, maybe I didn't plug the directory in correctly.
What would that command be if the app is called "Notepad" and it's on the desktop?