lanux128

Farr_restart

Oct 3rd, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Original Script by jgpaiva from DonationCoder
  2. ; Restarts Farr with a delay of 15 seconds
  3. ;
  4. #Persistent
  5. #SingleInstance force
  6. #NoEnv
  7. Farr_exe=C:\Programs\DonationCoder\Farr\FindAndRunRobot.exe
  8.  
  9. Process, Exist, FindAndRunRobot.exe
  10. If ErrorLevel <> 0
  11.   {
  12.   Run,%Farr_exe% -exit
  13.   TrayTip,,Farr is being closed and will be restarted in 15 seconds..,,1
  14.   Sleep, 15000
  15.   Run,%Farr_exe% -tray
  16.   }
  17. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment