526
General Software Discussion / Re: Everything is back -- with 1.3 beta
« Last post by Nod5 on January 05, 2013, 11:05 AM »Ok. It is still possible to filter out folders from the matches using the ! command when match path is active. For example, the search "football !E:" excludes "E:\football.txt" and "E:\folder\football.txt" but includes "C:\football.txt" in the match list.
I use autohotkey to quickly toggle such "filters" on/off. Here it is if anyone has use for it. update: I improved the script.
I use autohotkey to quickly toggle such "filters" on/off. Here it is if anyone has use for it. update: I improved the script.
#IfWinActive, ahk_class EVERYTHING
F12::
string = !"E:\test folder\"
toggle()
return
F11::
string = "ext:mp3"
toggle()
return
toggle() {
global
ControlGetText, x, Edit1, A
if x contains %string%%A_space%
StringReplace, x, x, %string%%A_space%,,
else if x contains %string%
StringReplace, x, x, %string%,,
else
x = %string% %x%
ControlSetText, Edit1, %x%, A
ControlFocus, Edit1, A
send {end}
}
#IfWinActive
F12::
string = !"E:\test folder\"
toggle()
return
F11::
string = "ext:mp3"
toggle()
return
toggle() {
global
ControlGetText, x, Edit1, A
if x contains %string%%A_space%
StringReplace, x, x, %string%%A_space%,,
else if x contains %string%
StringReplace, x, x, %string%,,
else
x = %string% %x%
ControlSetText, Edit1, %x%, A
ControlFocus, Edit1, A
send {end}
}
#IfWinActive

Recent Posts

