Key Mapping for "Reload current file"

Key Mapping for "Reload current file"

6
NewbieNewbie
6

    Aug 17, 2005#1

    I can't seem to find a Command in "Key Mapping" to Reload the current file from disk. The only thing I can find that is close is the "FileRevertToSaved" but that pops up a message every time I use it... I just want the file to reload without any prompts.

    I would like to turn of the 'notify on change' function and just reload when I want to while viewing logs.

    Thanks.

    6,686585
    Grand MasterGrand Master
    6,686585

      Aug 22, 2005#2

      You could use this macro with a key assignment as workaround.

      CopyFilePath
      CloseFile NoSave
      Open "^c"
      Bottom

      The red line is not necessary, if you never modify the file with UltraEdit. I guess, you use UltraEdit for viewing a log file, so I added the Bottom command to automatically to to end of file after reloading the file.
      Best regards from an UC/UE/UES for Windows user from Austria

      6
      NewbieNewbie
      6

        Aug 23, 2005#3

        Thanks,

        This gives me exactly what I was looking for. The only thing I added was the active clipboard before copying the filepath so I would not over write the data in the current clipboard.

        Clipboard 9
        CopyFilePath
        CloseFile NoSave
        Open "^c"
        Clipboard 0
        Bottom