Configure default new file name

Configure default new file name

17
Basic UserBasic User
17

    Feb 27, 2016#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.

    6,681583
    Grand MasterGrand Master
    6,681583

      Feb 28, 2016#2

      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 an UC/UE/UES for Windows user from Austria

      17
      Basic UserBasic User
      17

        Feb 29, 2016#3

        Thank you Mofi.

        Maybe change could be made to make this customizable? It's very easy.

        6,681583
        Grand MasterGrand Master
        6,681583

          Mar 01, 2016#4

          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 an UC/UE/UES for Windows user from Austria

          11327
          MasterMaster
          11327

            Mar 01, 2016#5

            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.

            6,681583
            Grand MasterGrand Master
            6,681583

              Mar 01, 2016#6

              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 an UC/UE/UES for Windows user from Austria