How do I shut down UltraEdit *silently*?

How do I shut down UltraEdit *silently*?

2
NewbieNewbie
2

    Jan 31, 2006#1

    I have a simple question:

    Is there any way to shut down UltraEdit, and have it NOT ask for confirmation on any unsaved files? I just want it to shut down silently and immediately, discarding any changes in open files.

    Is this possible?

    63
    Advanced UserAdvanced User
    63

      Jan 31, 2006#2

      Hi MTop

      Yes, I don't know why you would want that but here goes.

      Pull down menu "Advanced" --> "Configuration.."
      Click the plus sign on "File Handling" than "File Change Dectection"

      Under "File Change Dectection" click "Disable"

      Hope that helps

      Oh this is for version 11.20b

      2
      NewbieNewbie
      2

        Jan 31, 2006#3

        I don't want that for general useage. But sometimes, I've got a bunch of files open that I used as temp files, and I don't need to save them.

        But it gets annoying when quitting out of UltraEdit means I have to click "No" seven times.

        I *do* want UE to normally ask for confirmation. I just want a different hotkey combo that will allow it to quit silently and discard all changes (like Shift-Alt-F4, or something).

        I guess there's nothing built in that would do this?

        11
        Basic UserBasic User
        11

          Jan 31, 2006#4

          This macro closes all files without asking to save. Assign it to a Hotkey and you're done.

          Loop
          SelectLine
          IfSel
          Else
          ExitLoop
          EndIf
          CloseFile NoSave
          EndLoop

          344
          MasterMaster
          344

            Jan 31, 2006#5

            Hi DarkTurok,

            isn't the loop unnecessary ?
            Your macro just closes the current file.

            Try this: (might not be nice, but effective) ;-)

            Loop 100
            CloseFile NoSave
            EndLoop

            Unfortunately, there is no "ExitUE" command and you cannot play
            "KEY ALT+F4" or sth.

            rds bego
            Normally using all newest english version incl. each hotfix. Win 10 64 bit

            11
            Basic UserBasic User
            11

              Feb 01, 2006#6

              Hi Bego,

              Actually, it closes all files - the Select Line / IfSelect is used to determine if there is still a file left.
              But granted, your loop is easier and does the job just as well - except one has more than 100 files open :)

              344
              MasterMaster
              344

                Feb 01, 2006#7

                Hi DarkTurok,

                hmmm, you're right. Dunno what I did wrong. Now your macro works...

                However, better 2 solutions than no solution :-)

                rds Bego
                Normally using all newest english version incl. each hotfix. Win 10 64 bit