Move your mouse while away
This file contains 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
function MouseWiggle { | |
Add-Type -Assembly System.Windows.Forms | |
while($True) { | |
Start-Sleep -Seconds 1 | |
[Windows.Forms.Cursor]::Position = New-Object Drawing.Point (random 1000),(random 1000) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment