1. Create a file called scroll.ps1 in a directory of your choice. The file can be named anything, but file extension needs to be .ps1
2. Copy following code to it.
Clear-host
Echo "Toggling Scrolllock..."
$WShell = New-Object -com "Wscript.Shell"
while ($true) {
$WShell.sendkeys("{SCROLLLOCK}")
Echo "1.."
Start-Sleep -Milliseconds 200
$WShell.sendkeys("{SCROLLLOCK}")
Start-Sleep -Seconds 250
Echo "2.."
}
3. Right click the file and select "Run with Powershell"
4. To stop it from running, use Control + C to cancel.
Rating: