title: Use VBScript to open an application and perform actions in it
body: <p>I've written the following vbs to open ciphergraph:</p>
  
  <pre><code>Dim objShell
  Set objShell = WScript.CreateObject( "WScript.Shell" )
  objShell.Run("""C:\Program Files (x86)\CipherGraph\LaunchStub.exe""")
  Set objShell = Nothing
  WScript.Sleep 250
  </code></pre>
  
  <p>I'd like to also select the 'Connect' button in the ciphergraph window - I can get to it by hitting 'TAB' twice and then 'RETURN' when the app launches</p>
  
  <p>how do I do this? Sorry if it's a basic question, new to VBS, but can't find an answer??</p>
  
  <p>cheers</p>