Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Move your mouse while away
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