Clicking is for monkeys. various programming applications utilize "command line" functionality, including clicking.
for instance, when writing a batch file to run every time windows logs on to counter-act the bane of my existence (the reset and locking of the homepage on my computer at work) by telling the command line to switch the registry values to allow homepage manipulation, and then open to a specified page, and then Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
objShell.Run "iexplore -nohome"
Wscript.Sleep 2000
objShell.SendKeys "TAB 2"
objShell.sendKeys "http://www.google.com"
Wscript.Sleep 500
objShell.SendKeys "{ENTER}"
Wscript.Sleep 500
objShell.sendKeys "%{HOME}"
wscript.sleep 2000
objShell.sendkeys "%{F4}"
WScript.Quit
yes, sleep too is for monkeys.
-maxsquires
Reply