5 ms·
I'm not a programmer, but for this purpose I run a PowerShell script to hit the Scroll-Lock key every 5 minutes. It works _perfectly_ (almost too perfectly)
by TurkishPoptart 6y ago
I'm not a programmer, but for this purpose I run a PowerShell script to hit the Scroll-Lock key every 5 minutes. It works _perfectly_ (almost too perfectly)
Echo "Keep-alive with Scroll Lock..."
$WShell = New-Object -com "Wscript.Shell"
while ($true)
{
$WShell.sendkeys("{SCROLLLOCK}")
Start-Sleep -Milliseconds 300
$WShell.sendkeys("{SCROLLLOCK}")
Start-Sleep -Seconds 240
}
- majkinetor 6y agoAHK is better for stuff like this, something like #Persistent SetTimer, CapsLock, 60000 return CapsLock: Send {CapsLock} AHK is very small, 0 on resources and this script is visible in tray. You could even enable/disable it via another hotkey or when specific app (PDF reader) is started.
- shiftpgdn 6y agoUse this instead otherwise it's quite obvious: Random, Time, 5800, 6400