Welcome to my Code Snippets

MyCodeSnippets.Space

move mouse

ReAdABLE Source (What is the ReAdABLE Human Format?)

http://mycodesnippets.space/powershell/winform/move-mouse.red

Code Snippet


Add-Type -AssemblyName System.Windows.Forms 

$position = [System.Windows.Forms.Cursor]::Position  
$position.X = $position.X + 200

[System.Windows.Forms.Cursor]::Position = $position