Is it possible to autoload a project?

Is it possible to autoload a project?

111
Basic UserBasic User
111

    Jan 13, 2007#1

    Hello,
    is there a way how to autoload a project when UltraEdit starts?
    I have a project with the files I frequently use and I would
    like to get it loaded everytime I start UltraEdit.

    (I use it as a replacement for Favorite Files as project window
    can be displayed in the left area of UE window, but Favorite Files
    is just a dialog which cannot be moved into the pane).

    Thanks
    Dalibor

    6,602548
    Grand MasterGrand Master
    6,602548

      Re: Is is possible to autoload a project?

      Jan 13, 2007#2

      Yes, if you enable in the configuration dialog at section File Handling the settings
      • Advanced - Open from Explorer also opens files list and
      • Load - Reload files previously open on startup.
      This works with UE v12.20b+1, but it does not work with UE v11.20a (Win98). With v11.20a UE starts, opens the last opened project files and immediately exits when a file is specified also on the command line (= double clicked in Windows Explorer).

      A solution which always works even for v11.20a is to not use the 2 options above and specify on the command line first the project file with full path in double quotes and then optionally the file to open. But this solution means you have to modify all shortcuts to uedit32.exe in LNK files and also in registry accordingly. Of course, in the registry only those open commands should be modified which does not have also the /p parameter for printing the opened file.

      Registry example:

      REGEDIT4

      [HKEY_CLASSES_ROOT\txtfile\shell\open\command]
      @="\"
      C:\\path to UltraEdit program directory\\Uedit32.exe\" \"C:\\path to project file\\project file name.prj\" \"%1\""

      [HKEY_CLASSES_ROOT\txtfile\shell\print\command]
      @="\"
      C:\\path to UltraEdit program directory\\Uedit32.exe\" /p \"%1\""
      Best regards from an UC/UE/UES for Windows user from Austria

      111
      Basic UserBasic User
      111

        Jan 13, 2007#3

        Thanks

        Dalibor