Sunday 15 July 2012

vbscript - How can I make a vbs file which can press arrow keys? -



vbscript - How can I make a vbs file which can press arrow keys? -

i'm using voice command software , still in beta thing find big problem navigation in folders , files

so thought i'll create vbs script gets triggered voice. eg: left vbs file presses left arrow gets pressed

i need code keystrokes

once again, move highlighted folder pressing arrow keys i'm trying do

plz help me create code this

thank you

may help create script

'create shell script object key stork , move arround screen set wshshell = wscript.createobject("wscript.shell") set shell = wscript.createobject("shell.application") shell.open "c:\export\script" wshshell.specialfolders("c:\export\script") wshshell.specialfolders.item(0) wshshell.sendkeys "{left}" wscript.sleep 1000 wshshell.sendkeys "{left}" wscript.sleep 1000 wshshell.sendkeys "{right}" wscript.sleep 1000 wshshell.sendkeys "{down}" wscript.sleep 1000 wshshell.sendkeys "{down}" wscript.sleep 1000 wshshell.sendkeys "{down}" wscript.sleep 1000 wshshell.sendkeys "{right}" wscript.sleep 1000 wshshell.sendkeys "{right}" wscript.sleep 1000 wshshell.sendkeys "{right}" wscript.sleep 1000 wshshell.sendkeys "{right}" wscript.sleep 1000 wshshell.sendkeys "{right}" wscript.sleep 1000 wshshell.sendkeys "{left}" wscript.sleep 1000 wshshell.sendkeys "{up}" wscript.sleep 1000

vbscript

No comments:

Post a Comment