TextViewer with more than one file

Discussions about tools to complement CSPro data processing
AriSilva
Posts: 107
Joined: July 22nd, 2016, 3:55 pm

TextViewer with more than one file

Postby AriSilva » April 9th, 2018, 1:06 pm

I have a cspro application that generates 3 text files, and I want to see them using text viewer.
I use the execsystem function to call textviewer, but it is generating 3 different instances of the textviewer.
I would like to have a single instance of the textviewer, and use the left and right arrows to change files inside the textviewer, as it is done in a batch cspro file.
Is there a parameter to call the textviewer to do that?
Best
Ari

aaronw
Posts: 52
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: TextViewer with more than one file

Postby aaronw » April 11th, 2018, 9:09 am

List (without commas) all three files in the same execsystem.

execsystem(maketext('"%sTextView.exe" "C:\Survey\Helps.txt" "C:\Survey\Readme.txt" "C:\Survey\License.txt"',pathname(CSPro)),maximized,wait);

AriSilva
Posts: 107
Joined: July 22nd, 2016, 3:55 pm

Re: TextViewer with more than one file

Postby AriSilva » April 11th, 2018, 10:13 am

Great!
Thanks
Ari
Best
Ari


Return to “Tools”