lanux128

Farr_exit

Oct 3rd, 2014
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Original Script by jgpaiva from DonationCoder
  2. ; Useful when updating Farr
  3. ; To close Farr, call this script inside Farr
  4. ; Use Win+F to open Farr
  5. ;
  6. #Persistent
  7. #SingleInstance force
  8. #NoEnv
  9. Farr_exe=C:\Programs\DonationCoder\Farr\FindAndRunRobot.exe
  10.  
  11. hotkey,#f,findandrun
  12. Process, exist,findandrunrobot.exe
  13. If ErrorLevel <> 0
  14.   Run,%Farr_exe% -exit
  15. Return
  16.  
  17. findandrun:
  18. Run,%Farr_exe% -tray
  19. TrayTip,,Find And Run Robot relaunched.,,1
  20. Sleep, 5000
  21. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment