Created
October 9, 2019 10:45
-
-
Save sub314xxl/c33e50e81a4d3acc990e52959a77f7d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param($minutes = 9999) | |
$myShell = New-Object -com "Wscript.Shell" | |
for ($i = 0; $i -lt $minutes; $i++) { | |
Start-Sleep -Seconds 30 | |
$myShell.sendkeys("{F17}") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment