- Posted by
- I never did get a crash from UltraEdit. A little more testing after my previous posts indicated that the ",e" prevented the double editing. Use of UltraEdit.saveAs(newFile); UltraEdit.closeFile(newFile,2); saved the file fine. Use of closeFile without the ",e" on the command line allowed UltraEdit t...Posted in Scripts
-   Topics
-   Views
- Mike
Mar 15, 2010
- Thank you for your patience. I'll remember to check the UltraEdit Help for script commands. Here is a simplified set of files. testfile.txt contains: This is the only line in the file. double-write.bat contains: uedit32 /fni "C:\Projects\testfile.txt" /s="C:\Projects\double-write.js" double-write.js...Posted in Scripts
-   Topics
-   Views
- Mike
Mar 12, 2010
- Thanks for the information. Perhaps this is my bigger problem: My Windows batch file and .js script file seem to be processing the input file twice. Here's the command line in the batch file: uedit32 /fni "C:\Projects\myfile.txt" /s="C:\Projects\editscript.js" (By leaving off the ,e in the /s parame...Posted in Scripts
-   Topics
-   Views
- Mike
Mar 12, 2010
- Is there some configuration value that can be set in a script to avoid creating a backup file when "saveAs" is used? That is, is there some variable that can be set that is equivalent to the configuration setting "File handling -> Backup -> No backup" radio button in the GUI? I want to save a file w...Posted in Scripts
-   Topics
-   Views
- Mike
Mar 12, 2010