User to user discussion and support for UltraEdit, UEStudio, UltraCompare, and other IDM applications.

General and specific configuration/INI settings
6 posts Page 1 of 1
Hi friends,

Is there a way to configure UE to change the default new file name, e.g 'New Doc1', 'New Doc2', etc. to anything I would like?

Thanks.
The name used for the temporary file after creating a new file until the new file is saved the first time with a name is not customizable because hard coded in executable of UltraEdit.
Best regards from Austria
Thank you Mofi.

Maybe change could be made to make this customizable? It's very easy.
You have to send an email with an appropriate feature request to IDM support if you want the file name for new files customizable in a future version, see top of this page.

And I would be careful with statements like "It's very easy" because you don't know the source code and how much code depends on the fixed naming scheme for new files. For example command Save All must detected if a modified file is a new file or an already named file to pick up one case where a customization of file name for new files might require also a code change. The string entered by the user must be checked for characters being invalid for file names. The string entered by the user must be checked for 1 or more digits at end of the file name. Appropriate error messages must be prepared indicating the error if the user makes something wrong. Those error messages as well as the customization option must be translated into the other supported languages. The help must be updated to explain this new configuration option with translation into the other supported languages, etc.
Best regards from Austria
2min2max

Possible workaround:
make a cmd file and name it for eg start_ue.cmd
Code: Select all
@echo off
:loop
if -%1==- goto eof
start "" uedit32 "%~1"
shift
goto loop
:eof

Now you can start UE by typing start_ue file_name1 file_name2 file_name3 ...
If file names contains spaces, they must be surrounded by "
If file file_name* doesn't exist, UE create new file with that name.
Replace uedit32 with actual name of UE executable with path
It's impossible to lead us astray for we don't care even to choose the way.
The batch file could be reduced to a single command line file:

Code: Select all
@start "" uedit32.exe %*

UltraEdit creates new files with the specified file names for which no existing file can be found. That's much better than starting quickly multiple UltraEdit instances (testing sharing management on accessing INI file by UltraEdit).
Best regards from Austria
6 posts Page 1 of 1