WASP seriously ROCKS...managed to automate sending a report generated by powershell, via outlook web access, all using WASP. Thank you so much for allowing easy GUI automation of windows. Have found on older systems a lot of start-sleep is needed to delay the clicks as the example Send-Keys "%{F4}%n" works fine on my home quad-core machine but at work...on a work machine, I had to change this to:-
Select-Window notepad | Set-WindowActive | Send-Keys "%{F4}"
Start-Sleep -Milliseconds 1500
Select-Window notepad | select-childwindow | Set-WindowActive | Send-Keys "{TAB}"
Start-Sleep -Milliseconds 1500
Select-Window notepad | select-childwindow | Set-WindowActive | Send-Keys "{ENTER}"
As it did not always close the notepad window....but all in all this is one amazing snapin!
↧