TextViewer with more than one file

Discussions about tools to complement CSPro data processing
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

TextViewer with more than one file

Post by AriSilva »

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: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: TextViewer with more than one file

Post by aaronw »

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: 591
Joined: July 22nd, 2016, 3:55 pm

Re: TextViewer with more than one file

Post by AriSilva »

Great!
Thanks
Ari
Best
Ari
Post Reply