VBScript SendKeys 800A0408 Invalid Character -


i'm getting compilation error script working on using wscript.sendkeys. yes, have saved .vbs file encoded ansi. says error on line 48, this:

shell.sendkeys {enter} 

the rest of script works fine if take line out, in case that's important.

you need enclose {enter} in quotes. sendkeys expects string parameter.

shell.sendkeys "{enter}" 

Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -