I can't seem to get this code to work on a console foxpro application. Is there anything that I'm missing. I've tested this code on other applications and it works.
ipmo "D:\WASP\WASP.dll"
Select-Window "ntvdm" | Set-WindowActive | Select-Control | Send-Keys "r"
When i press "r" on the keyboard, the app accepts the input but when I run this code, it does not.
Thank you very much.