; Original Script by jgpaiva from DonationCoder ; Keep Farr running ; If nonexistent, starts Farr after a delay of 10 seconds ; Source: http://www.donationcoder.com/Forums/bb/index.php?topic=2812.msg132848#msg132848 ; #Persistent #SingleInstance force #NoEnv ;#NoTrayIcon ;change the path if necessary Farr_exe=%ProgramFiles%\FindAndRunRobot\FindAndRunRobot.exe SetTimer, WatchFarr, 1500 ;increase or decrease timer accordingly Return WatchFarr: Process, Exist, FindAndRunRobot.exe If ErrorLevel <> 0 Return Else { ToolTip, Farr is not detected and will be started in 10 seconds. Sleep, 10000 ;modify the delay here 1000 = 1 sec. Run,%Farr_exe% -tray } ToolTip ;remove ToolTip Return ;Win+q exits... #q::ExitApp