Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Add-Type -AssemblyName System.Windows.Forms
- while ($true)
- {
- $Pos = [System.Windows.Forms.Cursor]::Position
- $x = ($pos.X % 500) + 1
- $y = ($pos.Y % 500) + 1
- [System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y)
- Start-Sleep -Seconds 10
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement