Untitled
Add-Type -AssemblyName System.Windows.Forms Add-Type -AssemblyName System.Drawing function Simulate-Click { $pos = [System.Windows.Forms.Cursor]::Position $mouse_event = [System.Windows.Forms.MouseButtons]::Left [System.Windows.Forms.SendKeys]::SendWait("{LEFTCLICK}") } while ($true) { Simulate-Click Start-Sleep -Seconds 20 }
Leave a Comment