DonationCoder.com Software > Find And Run Robot
programing mouse buttons for FARR
DocSavage:
I am trying to program a mouse center center button (wheel) to open FARR. Can you tell me the instruction? pointing to .exe starts a new instance. in the keystroke mode, it only accepts modifier (alt, cntrl, etc) & a standard key.
lanux128:
assuming you had installed Farr in "C:\Program Files\DonationCoder\Farr", the following should be ok. also check this thread for more examples.
--- ---MButton::Run, C:\Program Files\DonationCoder\Farr\FindAndRunRobot.exe
mouser:
lanux, i think he means a mouse wheel to bring up FARR from tray, rather than run it when its not running. i.e. just trigger the FARR hotkey.
lanux128:
re-reading the 1st post that seems the case. anyway, here's the modified version.
--- ---; This script is to bring up Farr window via mouse
; Source: hxxp://www.donationcoder.com/forum/index.php?topic=2812.msg58794#msg58794
#SingleInstance, force
#NoTrayIcon
;Set path here
Farr_exe=%ProgramFiles%\DonationCoder\Farr\FindAndRunRobot.exe
MButton::
Process, Exist,FindAndRunRobot.exe
If ErrorLevel <> 0
Send, {Pause} ;'Pause' key is the default
Else
{
Run,%Farr_exe% -tray
Sleep, 1000
Send, {Pause}
}
Return
mouser:
nice 8)
i'll add this to my list of permanently useful FARR stuff.
Navigation
[0] Message Index
[#] Next page
Go to full version