Jump to content
Sign in to follow this  
tobject

MS Word Move cursor 1 page down

Recommended Posts

tobject

I'm moving document from other app to MS Word via Clipboard, page by page

How in MS Word I move cursor 1 page down programmatically?

So far I'm doing it the ugly way, sending Ctrl+PgDn

sleep(250);
WinActivate("[CLASS:OpusApp]", "")
sleep(250);
if $Indx3>1 then send("^{PGDN}");
Edited by tobject

Share this post


Link to post
Share on other sites
tobject

Found it!

$oWordApp.Activedocument.Activewindow.PageScroll

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×