AutoHotkey: Move Quicksearch Box To Make Status Bar Visible: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (bugfix: one ahk_class too much) |
||
Line 5: | Line 5: | ||
$+Q:: | $+Q:: | ||
String= | String= | ||
IfWinActive, | IfWinActive, ahk_class TTOTAL_CMD | ||
{ | { | ||
Loop | Loop |
Revision as of 12:41, 28 January 2006
Press Shift+Q to show quicksearch box and then use it as usual. After each keypress it will be closed, recalled with the former content and then docked at the lower left end of the TC window. The effect is that the status bar will be always visible while quicksearching and it will always reflect the found file-/foldername.
Attention: Always close the quicksearch box by pressing ESC, otherwise it will continue running in the background!
$+Q:: String= IfWinActive, ahk_class TTOTAL_CMD { Loop { WinGetPos, X, Y, Width, Height, ahk_class TTOTAL_CMD PostMessage, 1075, 2915, , , ahk_class TTOTAL_CMD WinWait, ahk_class TQUICKSEARCH WinMove, A, , X+4, Y+Height ControlSetText, TTabEdit1, %String% ControlSend, TTabEdit1, {END} Input, Keypress, L1 I M V, {ESC} If Errorlevel=EndKey:Escape { ControlSend, TTabEdit1, {ESC} Break } ControlGetText, String, TTabEdit1 Send, {ESC} } } Else Send, {SHIFT}Q Return