Share via

Automatic Scrolling when Typing

Anonymous
2018-08-08T18:27:49+00:00

I am trying to keep my page focus view in Word in the same location - the page moves as I'm typing rather than they typing continuing down the screen so that I'm having to move my eyes lower and lower on the screen to see what I'm typing.  Someone posted the below info and I'm wondering if it can be entered into Word within Office Professional Plus 2013 and, if so, where I can enter it.  I've tried it in a macro but that didn't work.  Any assistance you can provide would be greatly appreciated.

"Tried this out, hope it works like you need It will get the Y coord of the caret as soon as word becomes the active window and then scroll down one line if the caret move's down

#Persistent
WinWaitActive, ahk_class OpusApp
CaretStartY := A_CaretY
SetTimer, scroll , 500
return

scroll:
if WinActive("ahk_class OpusApp")
    if (A_CaretY > CaretStartY)
        ComObjActive("Word.Application").ActiveWindow.SmallScroll(1)
return

And this will let you use the arrow keys to Scroll in word

#IfWinActive ahk_class OpusApp
down:: 
up:: 
    ComObjActive("Word.Application").ActiveWindow.SmallScroll(InStr(A_ThisHotkey,"up")? -1:1)
return

Right::
Left::
    ComObjActive("Word.Application").ActiveWindow.SmallScroll(0,0,InStr(A_ThisHotkey,"Left")? -1:1)
return

Hope it helps"

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Suzanne S Barnhill 278.1K Reputation points MVP Volunteer Moderator
    2018-08-08T21:59:59+00:00

    This is behavior Word users have been requesting for many years now, to no avail. If you do come up with a macro that would accomplish it, I'm sure it would be very welcome!

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments