So I have this code:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "{"}"
But VBS says there is a mistake. How can I fix this?
I was trying to put it in {} but it doesn't work.
So I have this code:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "{"}"
But VBS says there is a mistake. How can I fix this?
I was trying to put it in {} but it doesn't work.
I don't think you can. Wscript will think it is a syntax error every time. Unless you want to send two quotes it might not work. This might help with that. About using Double quotes in Vbscript