scrolling through old videos in youtube history


cokedude

Active member
Member
Local time
8:36 PM
Posts
61
OS
10 and 11
If you have a lot of videos in your youtube history it is very hard to scroll without having freezing issues. I figured out a little trick to stop it from freezing. Put this in powershell. It repeats the sequence num lock, num lock, left mouse key, page down, page down, page down every ten seconds.

Code:
param($minutes = 9999)

write "... screen will be awake for $minutes"

 $myshell = New-Object -com "Wscript.Shell"

 for ($i = 0; $i -lt $minutes; $i++) {
 write "... screen will be awake for" ($minutes-$i)
 Start-Sleep -Seconds 10   
 $myshell.sendkeys("{NUMLOCK}{NUMLOCK}{LEFT}{PGDN}{PGDN}{PGDN}{PGDN}")
}

 

My Computer My Computer

At a glance

10 and 11
OS
10 and 11
Computer type
Laptop

Latest Support Threads

Back
Top Bottom