Page 1 of 1

Can I use V to view the output of a User Command?

Posted: Sun May 02, 2010 8:19 pm
by vuser
I'm trying to integrate a user command into V, such that the output from the command appears in V itself.
In particular, I have a command line program (strings.exe) whose output I want to capture.

Is this possible?

Re: Can I use V to view the output of a User Command?

Posted: Sun May 02, 2010 9:41 pm
by FileViewer
I'm trying to integrate a user command into V, such that the output from the command appears in V itself.

Unfortunately, there is no option in V to capture the output of a User Command and display it.

However, you could do the following:

Create a .BAT file which calls your command (strings) and pipes the output to V.
For example, create a file called VStrings.bat which contained:

Code: Select all

strings %1 | V /f

When you ran VStrings from the command line, it would display its output in V.

You can then create a User Command which called VStrings.bat. Normally, this would cause the output of strings to be displayed in another instance of V.

However, the results would be displayed in the same instance if you enabled the following in the "More Options" tab of Preferences:

    Minimize to System Tray
    Always Use Tray Instance
Let me know if you have any problems.

Regards,
Charles.