Watch a software and if its not running then restart.
Can anyone spot a problem with this?
I have only been using automator since Wednesday and trying to solve a simple problem. I have been through 15+ pages of google but nothing is helping so thought it was best to post in here.
All I would like is for automator to check every 10 seconds to see if a piece of software called "IsadoraCore" is running. If not; restart the machine.
I know I can restart the software but I need it to restart the machine in order for IsadoraCore to trigger a series of events (start live feed video, etc) Its an interactive piece of software and quite clever but I need a failproof system.
Thanks!
repeat
delay 10
set core_is_running to ("IsadoraCore.app")
if core_is_running is false then
tell application ("Finder.app") to restart
end if
end repeat
MacBook Pro, Mac OS X (10.7.5)