Messages - Nod5 [ switch to compact view ]

Pages: prev1 ... 10 11 12 13 14 [15] 16 17 18 19 20 ... 234next
71
General Software Discussion / Re: Automatic text software for Windows
« on: November 29, 2020, 04:51 AM »
Lintalist is a great tool for that https://lintalist.github.io/ . Free and open source.

There is a DC forum thread about it here https://www.donationcoder.com/forum/index.php?topic=41475.25 and also a thread in the AutoHotkey forums if you have questions.

72
Find And Run Robot / Re: FARR mini weather report from wttr.in
« on: November 24, 2020, 05:53 PM »
Cool idea, but wouldn't it be easier to have the weather be shown in the results?
something like an alias with htmlviewurl https://wttr.in/london?format=%c+%t+%C in the results?
Then the emoji did not show correctly when I tested it - see note at the end of my post. But works for only text/numbers.

73
I wanted to exclude folders in this particular case because the search folder is used in an alias that also has an alias action to do "showfilehtml" (previous thread). Then folders are of no use in the results list. Or worse: FARR freezes on my PC if the "showfilehtml" action is by accident done on a folder result. Not sure if that is a general issue or something with my setup though.

Answering myself, there does seem to be a general issue/bug with FARR (or IE in FARR) there. To reproduce create this alias
name: showfilehtml_test
regex: ^(h:) (.+)$
result: showfilehtml $$2
and create an empty folder "C:\testing" and type "h: C:\testing" in FARR.
FARR will show an Explorer like view of the empty folder and after a few seconds freezes. Sometimes FARR shows an error message and closes its process. Other times the FARR process must be closed manually. If this is a general thing then maybe prevent showfilehtml from acting on folders? Though still possible that this varies with some underlying IE settings.

74
hmm this is a good question.. Let me go look at the code.. If there isn't an easy way to do what you want I will add it; I was doing some little tweaks to FARR today so I can finally work on it a bit.
Hi mouser, great! A bit of context: I wanted to exclude folders in this particular case because the search folder is used in an alias that also has an alias action to do "showfilehtml" (previous thread). Then folders are of no use in the results list. Or worse: FARR freezes on my PC if the "showfilehtml" action is by accident done on a folder result. Not sure if that is a general issue or something with my setup though.

75
This may have been solved before but I didn't find it with search just now.

In FARR settings the search folders page has a field for restricting what to search in the folder.
How do we restrict the search to not show any folders? That is, the search results should show files in the specified folder and in its subfolders, but should not show the subfolders themselves.

search_folders.png

We can include file extensions with "txt;pdf;md" and exclude file extensions with "-mp4;mkv;avi".

But the on screen help text says nothing about folders. Nor does the help page https://www.donationcoder.com/Software/Mouser/findrun/help/searchfolders.htm Is there a syntax for that field to exclude folders? ( 2009 thread requested such syntax. )

I tried "-\" and "-\\" but neither worked.

If the search folder modifier keyword is used in an alias together with dosearch then one workaround is to add "-\" in the alias result line (or manually in the searchbox) to exclude folders. Or alternatively "+." to only include files. Helpfile page on that.

That workaround excludes folders, with one exception it seems: the base folder for the search folder settings is still included. For example in the screenshot above the base folder would be "C:\FARR\farr-tldr". But I noticed that if we in the alias instead add "-\\" (two slashes instead of one) then the base folder is also excluded. Though that seems undocumented behaviour.

Pages: prev1 ... 10 11 12 13 14 [15] 16 17 18 19 20 ... 234next
Go to full version