No Auto-Scrolling of text in GUI Edit controls
Posted: 06 Dec 2017, 13:49
I'm using Autohotkey 32bit v1.1.26.01 and Windows 7 Ultimate 64bit SP1
I want to make a teleprompter with smooth-middle-button-drag&scroll text pixel by pixel (a.k.a "Auto-Scrolling") (Easier to read). Apparently multi-line Edit control fields won't let you press & hold the middle mouse button and move your mouse to scroll smoothly, only manual line by line:
But this script can:
Just a completely unrelated line, MAGICALLY allows the user to smooth-middle-button-drag&scroll the text pixel by pixel. How can this be? I've lost over 20hours of programming Autohotkey to do something that was never intended to do by forcing dynamic gui text fields with "GuiControl Move" and complex adjustable-interchangeable text field contents for my teleprompter only to reach dead ends. If interested I can post my code, maybe of some use to someone. All until I "accidentally" (if there even is such a thing) ran an old script of mine where I could smooth scroll a text inside an Edit control. Imagine my frustration wasting so many hours BECAUSE OF THIS BUG that made me believe I can't auto-scroll inside an Edit control. Shouting and screaming in vain... pulling my hair off...Does anyone even care confirming this?
I want to make a teleprompter with smooth-middle-button-drag&scroll text pixel by pixel (a.k.a "Auto-Scrolling") (Easier to read). Apparently multi-line Edit control fields won't let you press & hold the middle mouse button and move your mouse to scroll smoothly, only manual line by line:
Code: Select all
;No smooth scroll:
FileRead, mytext, C:\IN.TXT
Gui, Add, Edit, h200 w200, %mytext% ;This edit control can't smooth-middle-button-drag&scroll text!
Gui, Show
return
Code: Select all
FileSelectFile, OutputVar ;a very totally useless line of code here... hmm ... or is it now?
FileRead, mytext, C:\IN.TXT
Gui, Add, Edit, h200 w200, %mytext% ;This edit control MAGICALLY CAN smooth auto-scroll text!!! WTF???
Gui, Show
return