Wednesday, 1 March 2017

How to automate Calculator using VBScript


Set objshell = wscript.CreateObject("wscript.shell")
objshell.Run "calc.exe"
objshell.AppActivate "Calculator"
wscript.sleep 2000
objshell.SendKeys "23*23="
msgbox "completed"


Develop this code in notepad and save it as .vbs

No comments:

Post a Comment