I did try to build something like object > action > ... for farr. Here is for example what the farr command line would look like.
a) 'sdfsdfsdf' > mailto > toto@tutu.com
b) 'sfsdffs' > appendto > c:\test.txt
c) c:\A.bat; c:\B.txt; c:\C.txt > zipto > c:\f.zip
Very little things miss for building that in FARR. I don't know if there is interest for this kind of presentation.
- First is the ability to call a dosearch from a plugin. That way the plugin could filter the command line and start a search from a part of the query. setsearch and setsearchnogo clear the current query so they can't be used for doing that.
- Second is FARR completion that by default clear all the current query. Its possible to build line like the (c) but after your first result you must absolutely not hit tab because it would clear the query. One way I see to do that is to allow the plugin to set a completion prefix that would be added to the completion : If I type c:\A.bat; c:\B.txt; <dosearch +files> then the plugin would set "c:\A.bat; c:\B.txt;" as the prefix so that tab add this to the completion line.
Another way would be for farr to call back the plugin to ask him if it want to handle completion but it certainly would complexify the system.
I did prototype it, and it work as long as I handle all the case. This two points would allow to make this kind of selection to cooperate with other plugins.
Cheers
Manu
a) 'sdfsdfsdf' > mailto > toto@tutu.com
b) 'sfsdffs' > appendto > c:\test.txt
c) c:\A.bat; c:\B.txt; c:\C.txt > zipto > c:\f.zip
Very little things miss for building that in FARR. I don't know if there is interest for this kind of presentation.
- First is the ability to call a dosearch from a plugin. That way the plugin could filter the command line and start a search from a part of the query. setsearch and setsearchnogo clear the current query so they can't be used for doing that.
- Second is FARR completion that by default clear all the current query. Its possible to build line like the (c) but after your first result you must absolutely not hit tab because it would clear the query. One way I see to do that is to allow the plugin to set a completion prefix that would be added to the completion : If I type c:\A.bat; c:\B.txt; <dosearch +files> then the plugin would set "c:\A.bat; c:\B.txt;" as the prefix so that tab add this to the completion line.
Another way would be for farr to call back the plugin to ask him if it want to handle completion but it certainly would complexify the system.
I did prototype it, and it work as long as I handle all the case. This two points would allow to make this kind of selection to cooperate with other plugins.
Cheers

Manu










. I think I would personnaly prefer a shortcut-key.



