Here's an example of the issue
Set a=createobject("wscript.shell")
a.sendkey (%117)
I would like to do ALT+U simultaneously in that situation but it is not reading correctly and I am unsure how to fix this issue.
Here's an example of the issue
Set a=createobject("wscript.shell")
a.sendkey (%117)
I would like to do ALT+U simultaneously in that situation but it is not reading correctly and I am unsure how to fix this issue.
Key codes are:
Alt - %
Ctrl - ^
So for Alt + U do:
Set a=createobject("wscript.shell")
a.SendKeys "%U"
For all other key codes refer to https://social.technet.microsoft.com/wiki/contents/articles/5169.vbscript-sendkeys-method.aspx