openvbs


SUBMITTED BY: liza2015

DATE: March 16, 2016, 4:42 p.m.

UPDATED: March 16, 2016, 4:57 p.m.

FORMAT: Text only

SIZE: 292 Bytes

HITS: 84890

  1. Set oShell = CreateObject("WScript.Shell")
  2. oShell.Run("""C:\Program Files\Mozilla Firefox\firefox.exe""")
  3. oShell.Run("""C:\Program Files (x86)\Mozilla Firefox\firefox.exe""")
  4. WScript.Sleep 3000
  5. oShell.AppActivate "firefox"
  6. WScript.Sleep 3000
  7. oShell.SendKeys "~"
  8. oShell.SendKeys "{F11}"

comments powered by Disqus