1 2 3 4 5 6 |
while(1) { [string]::Concat(([System.Windows.Forms.Cursor]::Position).X.ToString(),'|',([System.Windows.Forms.Cursor]::Position).Y.ToString()) | Out-File D:\power\posicionesraton.txt Start-Sleep -Seconds 1 } notepad D:\power\posicionesraton.txt |