I need to scroll a web page to keep it alive. Is it possible to write a simple script to do this stuff?
Thank you.
Scrolling a window in backgroung
Re: Scrolling a window in backgroung
Although AHK can send keys, there is no guarantee that your Web page will consider them in the same way as manual activity.
Code: Select all
#Requires AutoHotkey v1.1.33
#Persistent
Process Priority,, B
SetTimer scroll, 500
scroll() {
Static pgDown := False
Send % (pgDown := !pgDown) ? "{PgDn}" : "{PgUp}"
}
Re: Scrolling a window in backgroung
Thanks for trying but I found some browser extensions that already do this job. I tried one and it seems effective. Anyway, thank you for your help.