1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Start-Process powershell_ise Start-Sleep -Seconds 5 gc .\ejemplo.txt | %{ foreach($letras in [char[]]$_) { $letras [System.Windows.Forms.SendKeys]::SendWait($letras) Start-Sleep -Milliseconds 500 } [System.Windows.Forms.SendKeys]::SendWait(" ") [System.Windows.Forms.SendKeys]::SendWait("{ENTER}") Start-Sleep -Milliseconds 500 } |