Author Topic: Auto Reload Mode to Receive "Scroll to last/changed Line" Functionality  (Read 2666 times)

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • My Blog
I suggest adding an option to the Auto-Reload functionality to "Scroll to Last Line".

This helps when monitoring log files.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2206
  • Karma: +37/-3
    • HippoEDIT
If you are viewing end of file (last line), this should be done automatically already.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
YES, it does :D

-- Open "C:\temp\Test1.txt"  in HippoEDIT
-- execute this script
-- switch quickly back to HE
-- jump to last line (Ctrl+End)
-- watch whats happens

Set FSO = CreateObject("Scripting.FileSystemObject")
Set oFileName = FSO.OpenTextFile("C:\temp\Test1.txt",8,True)
  For i = 1 To 10
        oFileName.writeLine i
        wscript.sleep 1000
  Next
oFileName.close

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • My Blog
Did that, awesome. Works like a charm :D!