Skip to content

Instantly share code, notes, and snippets.

@swt02026
Created July 17, 2020 01:27
Show Gist options
  • Save swt02026/1c55d26e64c1ba41b0636554e93973ba to your computer and use it in GitHub Desktop.
Save swt02026/1c55d26e64c1ba41b0636554e93973ba to your computer and use it in GitHub Desktop.
# $language = "VBScript"
# $interface = "1.0"
Sub Main()
Set myShell = CreateObject("WScript.Shell")
myShell.Run "notepad.exe"
crt.Sleep 500
myShell.SendKeys "%F"
crt.Sleep 500
myShell.SendKeys "^O"
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment