| Let us call you now | Contact Greenview Data, Inc. 1-800-458-3348 | Privacy | SpamStopsHere.com |
![]() |
Automation |
|
Automation Example #2 (Convert tabs to spaces)For this example, we want to convert tab characters in a file to just spaces. Many text files contains tab characters; this often makes them difficult to import into other programs, especially if the programs have different tab stops. This is almost identical to the previous example; a different VEDIT macro is needed. Create a text file, e.g. "detab8.vdm" containing the following VEDIT commands: Config_Tab(8)
//Assume tab stops every 8 Then create a batch file, e.g. "detab8.bat" containing the following line: c:\vedit\vpw -q -x detab8.vdm %1 With the DETAB8.BAT file, you can now easily (detab) convert all tabs characters in a text file to spaces. For example, assuming the name of the text file is "payments.txt", at a DOS or NT prompt, simply give the command: stripw detab8.txt You could also create a Windows icon for this function. This example just barely scratches the surface of the many ways in which VEDIT can automate your editing, conversion and file "clean up" operations. If you have any questions about automation or other aspects of VEDIT, please don't hesitate to contact us. For information regarding SpamStopsHere, our award winning spam blocker, spam filter service, please visit SpamStopsHere.com.
Please contact us with any sales or technical questions at:
|