I'm sorry.
You are totally correct. IN ANY SOFTWARE THE ABSENCE OF A FEATURE IS NOT A BUG. Silly me for thinking otherwise. I stand corrected. Yes, i concur, code i posted it's a Windows quirk not Autohotkey.
I apologize for missing that and thank you for the info. I shouldn't even be in this bug section of the forum.
Code: Select all
Gui, Reader: +Resize +LastFound
Gui, Reader: Add, ActiveX, x0 y30 w500 h470 vweb, Shell.Explorer
Gui, Reader: Add, Button, x0 y0 w30 h30 gdecfont, f-
Gui, Reader: Add, Button, x30 y0 w30 h30 gincfont, f+
Gui, Reader: Add, Button, x60 y0 w30 h30 gdecspd, s-
Gui, Reader: Add, Button, x90 y0 w30 h30 gincspd, s+
web.Navigate2("C:\in.htm")
Gui, Reader: Show, w500 h500 , Reader
rollspeed:=15
CoordMode, Mouse, Screen
Loop {
MouseGetPos, x, y
PostMessage, 0x20A, -rollspeed << 16 , y << 16 | x , Internet Explorer_Server1 , Reader ;found an auto-scroll line of code somewhere and paste it here.
sleep, 100
}
return
decfont: ;zoom out
;ControlSend , Internet Explorer_Server1, {Ctrl Down}, Reader
;ControlSend , Internet Explorer_Server1, {WheelDown} , Reader
;ControlSend , Internet Explorer_Server1, {Ctrl Up}, Reader
SendMessage,0x100,0x11,,Internet Explorer_Server1, Reader ; why isn't this line of code working?
PostMessage, 0x115, 1, 0, Internet Explorer_Server1, Reader ;this line seems to do it's job
SendMessage,0x101,0x11,,Internet Explorer_Server1, Reader ; this line dosen't work also...hmm...what am I missing?
return
incfont: ;zoom in
;ControlSend , Internet Explorer_Server1, {Ctrl Down}, Reader
;ControlSend , Internet Explorer_Server1, {WheelUp} , Reader
;ControlSend , Internet Explorer_Server1, {Ctrl Up}, Reader
SendMessage,0x100,0x11,,Internet Explorer_Server1, Reader
PostMessage, 0x115, 0, 0, Internet Explorer_Server1, Reader
SendMessage,0x101,0x11,,Internet Explorer_Server1, Reader
return
decspd:
rollspeed-=10
return
incspd:
rollspeed+=10
return
ReaderGuiSize:
GuiControl, Move, Internet Explorer_Server1, % "x0 y30 h" . A_GuiHeight . " w" . A_GuiWidth ;This doesn't work. No wonder if i'm programming with copy&paste. Have no idea what I'm doing
return
ReaderGuiClose:
ExitApp
Can't seem to send CTRL key to resize text and don't know how to smart detect EOF in this auto-scroll state, except for a clumsy no_change_in_PixelGetColor somewhere_on_the_GUI_window...