Created
September 24, 2020 09:32
-
-
Save ArisBee/9a894e9f4f9727462e0dbd2f3115245e to your computer and use it in GitHub Desktop.
Move your mouse while away
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
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