WSH, SendKeys, and AppActivate - URGENT RESPONSE NEEDED
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi! i'm in a bit of a time crunch, so the sooner someone can answer this the better... i'm trying to script an uninstall for an application (the uninstaller is run via application). i can get the message box prompt confirming the uninstall to pop up, but i can't seem to be able to send keys to it. Unfortunately, there is no silent uninstall or force yes. Here's my code snippet: wsh.Run sUninstallCmd wsh.AppActivate "Confirm Uninstall" WshShell.SendKeys "{ENTER}", True Confirm Uninstall is the header for the message box (and the text displayed when i alt+tab) Any help is appreciated... obviously this is not doing the trick.