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

Use this forum to ask any questions and to submit bug reports

Moderator: vuser

Post Reply
vuser
Posts: 38
Joined: Sat May 01, 2010 8:11 pm

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

Post 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?
FileViewer
Site Admin
Posts: 287
Joined: Fri Apr 30, 2010 5:50 pm

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

Post 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.
Post Reply