DonationCoder.com Software > Finished Programs
DONE: Farr's go away
CleverCat:
Okay... :)
lanux128:
Can this be used after FARR has already crashed?-CleverCat (October 05, 2008, 09:08 AM)
--- End quote ---
you can modify my script so that it launches Farr whenever Farr's process is not existent.
CleverCat:
DONE: Farr's go away
;)
lanux128:
this is a quickly-done script so please let me know if anything goes astray. ;)
usage: not much to do but if you've installed Farr in a custom location then edit the script accordingly. use Win+q to exit the script
--- ---; Original Script by jgpaiva from DonationCoder
; Keep Farr running
; If nonexistent, starts Farr after a delay of 10 seconds
; Source: https://www.donationcoder.com/forum/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
CleverCat:
:Thmbsup: Brilliant, thanks lanux - works well!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version