Sunday, January 24, 2010

program-6

HOW TO PRESS ENTER TO MYCOMPUTER IN START BUTTON
*************************************************************
ic=window("Window").WinButton("start").press
Set kb=createobject ("wscript.shell")
kb.sendkeys "{up}"
wait(1)
kb.sendkeys "{up}"
wait(1)
kb.sendkeys "{up}
"wait(1)
kb.sendkeys "{up}
"kb.sendkeys "{up}"
kb.sendkeys "{up}"
kb.sendkeys "{up}"
kb.sendkeys "{up}"
wait(1)
kb.sendkeys "{up}"
kb.sendkeys "{enter}"

No comments:

Post a Comment