Can I disable the results alert?

Can I disable the results alert?

2
NewbieNewbie
2

    Nov 15, 2006#1

    I'm trying to automate a replace in files using the command line and a macro in a batch file, but the "x items replaced in x files" alert after the ReplInFiles command keeps UltraEdit from quitting by itself. Any ideas? Thanks...

    Command line:
    "C:\Program Files\UltraEdit\uedit32.exe" /M,E,1="V:\location\mymac.MAC/ReplMac"

    Macro:
    InsertMode
    ColumnModeOff
    HexOff
    UnixReOff
    ReplInFiles OutputWin "v:\files\" "*.txt" "TimesNewRomanPSMT"
    "Times-Roman "

    6,677585
    Grand MasterGrand Master
    6,677585

      Nov 16, 2006#2

      Replace the wrong recorded FindInFiles parameter OutputWin by the ReplInFiles parameter Log. Then UltraEdit will create a list of  files searched in the output window and no dialog is shown.
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Nov 17, 2006#3

        Thanks for the help, but it still pops up. My macro now reads:

        InsertMode
        ColumnModeOff
        HexOff
        UnixReOff
        ReplInFiles Log "v:\files" "*.txt" "TimesNewRomanPSMT"
        "Times-Roman "

        UltraEdit version 12.20a

        6,677585
        Grand MasterGrand Master
        6,677585

          Nov 19, 2006#4

          Sorry, I have forgotten my email to IDM about the bugs I found with the commands FindInFiles and ReplInFiles. Here is the important part of my bug report email to IDM:
          The ReplInFiles parameter Log is simply not working in UE. If a list of changed files is shown in the output window or only a message box with the number of replaces in x files, is not determined by the parameter Log. It is determined by the parameter "List Changed Files" of the "Replace In Files" dialog. If this parameter is actually not checked in the dialog, the ReplInFiles macro command will always show only the small message independent of the parameter Log. If "List Changed Files" parameter is checked in the "Replace In Files" dialog, the macro command will always show the detailed information about the changes in the output window. This is definitively a bug of the ReplInFiles macro command.

          The ReplInFiles macro command parameter Unicode is not really working. If a Unicode replace is executed or not does not depend on this parameter, it depends on the current "Unicode Search" option in the "Find/Replace In Files" dialogs. So if a macro with the command FindInFiles or ReplInFiles should be executed, always the current state of the "Unicode Search" option in the "Find/Replace In Files" dialogs must be set as needed by executing a find in files via dialog.
          Maybe free Xchang32.exe from utilities package written by Clay Ruth is more helpful for you in this case.
          Best regards from an UC/UE/UES for Windows user from Austria