ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Search Folders Only?

<< < (2/2)

herojoker:
Use the dosearch function!  ;D
Import this into your alias list:
1000>>>test>->dosearch +\ $$1>+>\$ (.*)

Then $ foo searches for folders with foo.
Of course you can change the regular expression such that it fits your needs.

mouser:
snail nailed it, you have to have either like:
"opera +\" or "+\ opera"

and hero explained how to use an alias to make it easier to type one thing and search for another.

snail02:
@hero, Pardon my ignorance..but how do i assign a different keyword to your function?
$ folder searches for 'folder'. however, when i change that to any other letter, and search using that expression, it doesn't work.
if i wanted to search for folders with regular expression 'fd' what would the function look like?
Thanks a lot !

snail02:
okay.. the following code worked..
1000>>>Folder Only>->dosearch +\ $$1>+>^fd(.*)$

Nod5:
As a complement to herojoker's solution, the autohotkey script from an old thread (
https://www.donationcoder.com/forum/index.php?topic=12478.0 ) can be useful:


--- ---~Space::
IfWinActive %A_Space%Find and Run Robot v2
 if A_PriorHotkey = %A_ThisHotkey%
  if A_TimeSincePriorHotkey < 400
   sendinput +\
return(I've above changed the code from that old thread from "sendinput \" to "sendinput +\" )

I still think that it would be a good idea to have doublespace as a built in hotkey for toggling adding/removing of " +\". But for now, the script should work fine.

Navigation

[0] Message Index

[*] Previous page

Go to full version