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

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • 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: 2184
  • Karma: +37/-3
    • View Profile
    • 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
    • View Profile
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.
    • View Profile
    • My Blog
Did that, awesome. Works like a charm :D!

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
2434 Views
Last post April 19, 2009, 08:42:05 am
by Stefan
6 Replies
2578 Views
Last post October 03, 2009, 10:46:03 pm
by alex
6 Replies
5626 Views
Last post November 02, 2009, 11:12:18 pm
by alex
1 Replies
1696 Views
Last post November 24, 2010, 12:55:31 am
by alex
6 Replies
3054 Views
Last post August 24, 2011, 05:08:07 pm
by false007