Created
July 3, 2017 22:28
-
-
Save atao/7a7d135fe3975192412c5e0ab8e8c570 to your computer and use it in GitHub Desktop.
Test script to emulate keyboard...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'https://msdn.microsoft.com/en-us/library/office/aa202943%28v=office.10%29.aspx' | |
Set objShell = CreateObject("WScript.Shell") | |
WScript.Sleep 800 | |
objShell.SendKeys "^{ESC}" | |
WScript.Sleep 800 | |
objShell.SendKeys "cmd" | |
'objShell.SendKeys "^+{ENTER}" | |
'objShell.SendKeys "{LEFT}" | |
WScript.Sleep 800 | |
objShell.SendKeys "{ENTER}" | |
msgbox "end" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment