Holy necro thread revival!
But on topic I think.
I want to make a FARR alias that first runs an external script and thereafter displays results from that script as a list of files in the regular FARR search results window.
Not as a html view.
Request: make the #filecontents virtual string compatible with other, preceding virtual strings and the ;;; command .
I'm thinking of a use case like this:
alias trigger:
zzz
results:
| dolaunch appcap C:\script.ahk ;;; #filecontents C:\list.txt
The alias would first run C:\script.ahk which does something and then outputs a newline separated list of filepaths to C:\list.txt . FARR thereafter moves on to the #filecontents command. Which reads list.txt as rows for the alias results box , which are then displayed in the FARR search results window.
Alternative request to achieve the same end result:
Add a new virtual launch string, for example "showfilelist FILENAME", that can be used to import a linebreak separated plaintext list of files to display as search results . Must also be compatible with ;;; and other, preceding virtual strings.
Edit:I realized this two alias workaround is a way to do it. But a one alias method would be less messy.
first alias:
zzz
results:
| dolaunch appcap C:\script.ahk ;;; restartsearch zzx
second alias:
zzx
results:
| #filecontents C:\list.txt