23662
« Last post by mouser on April 13, 2008, 01:15 PM »
you can't currently do it, BUT
there are 2 ways it could easily be supported.
1) someone could write a fairly simple plugin whose only purpose was to let users shell a command and capture the output to display in FARR memo mode. this would be a useful plugin and i've suggested it before.
2) i could add a builtin special alias command for this, and/or for grabbing the output of a file and displaying it in FARR memo output.
Personally i'd love to see someone write a plugin for this. I'd be happy to help a plugin writer figure out how to use the special way of calling plugin dlls with arguments so they could be used most easily for this kind of purpose (basically farr lets you specify a dll in an alias as if you were invoking an exe, which is a good way to provide a plugin dll that others can use for these kinds of things).
Really there are 2 functions that would be useful to have in a plugin like this:
1) to shell a command and capture the stdout console output to display in FARR memo.
2) to shell a command and then grab the output from a file and display in FARR memo.
We have some excellent FARR plugin writers so i'll leave it to them to code this.. If no one does then I do think it's past time we had it so i'll try to add it eventually if no one else does.
The other nice thing about such a helper plugin is that it would then let you use any scripting language (e.g. autohotkey) to do operations that generate output to display, without even needing a plugin interface for them.