1.

Solve : vbscript file help?

Answer»

I would like to make a vbscript to select create restore. I have an error when I run it maybe do to the TABBING...I need it to tab over 5 times and then press enter. here is my code:

set a = CREATEOBJECT("wscript.shell")
a.run "SystemPropertiesProtection.exe"
wscript.sleep (1000)
'call msgbox("dont CLICK mouse")
rem oshell.sendkeys "{tab}"
rem oshell.sendkeys "{tab}"
rem oshell.sendkeys "{tab}"
rem oshell.sendkeys "{tab}"
rem oshell.sendkeys "{tab}"
wscript.sleep (200)
oshell.sendkeys "~"
wscript.quitQuote from: bigbutt100 on September 15, 2010, 07:14:25 PM

I need it to tab over 5 times and then press enter.

And yet your script tabbing over 5 times and PRESSING Tilde..

Enter would be indicated with a {ENTER}.what do you mean Tilde?

thanks for the enter command (I used ~ because it showed it in YOUTUBE)Quote from: bigbutt100 on September 15, 2010, 07:34:03 PM
what do you mean Tilde?

thanks for the enter command (I used ~ because it showed it in youtube)


~ is a tilde.oh what does tild do and my script still doesnt tab..thanks


Discussion

No Comment Found