; Re: Latest FARR v2.00.135 ALPHA PREVIEW Release - July 17, 2007 ; http://www.donationcoder.com/Forums/bb/index.php?topic=6624.msg69271#msg69271 ; by Nod5 ; using CTRL+PAGEUP/DOWN as hotkey in FARR for adding/removing +sall can be "testdriven" ; ; Refer: http://www.donationcoder.com/Forums/bb/index.php?topic=12899.0 ; ;#Persistent ;#NoTrayIcon #SingleInstance force #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. AutoTrim, Off txtSALL = %A_Space%+sall IfWinActive, %A_space%Find and Run Robot v2 ahk_class TMainForm { ControlGetText, xvar, TEdit1, %A_space%Find and Run Robot v2 ahk_class TMainForm IfInString, xvar, %txtSALL% { StringGetPos, xvarPos, xvar, %txtSALL% StringMid, xvar, xvar, xvarPos, , L ControlSetText, TEdit1, %xvar%, %A_space%Find and Run Robot v2 ahk_class TMainForm } Else { ;If StringRight, xvar, xvar, 1= %A_Space% ;StringReplace, xvar, xvar, `n, `r`n, All ControlSetText, TEdit1, %xvar%%txtSALL%, %A_space%Find and Run Robot v2 ahk_class TMainForm } } Return