View Single Post
Old 11-28-2004   #14 (permalink)
Xavier00
Registered Member
 
Join Date: Nov 2004
Posts: 4
I am confused

Quote:
Originally Posted by goldfndr
Here's code to run for 20 seconds. I don't know what particular export you're seeking, but if you can figure out the keystrokes to pass to SendKeys, you'll be golden.

Code:
Option Explicit
const milliseconds=20000
dim WSH
set WSH=WScript.CreateObject("WScript.Shell")
WSH.Run "netstumbler.exe"
WScript.Sleep milliseconds
WSH.AppActivate "Network Stumbler"
WSH.SendKeys "%{F4}"   'Alt+F4 to exit

Hey guys....
I am dieing over here.
I am trying to learn VBScript. I put this code into it in order to try to see if it would open Netstumbler, but it didnt. So I tried playing around with it and change the path name and such, but of course it didnt.
Please Advise.
Xavier00 is offline   Reply With Quote