How Would I Program My Bot To Clear Away Placeholder Writing?
I'm making a bot to log in to bing.com using plain old windows notepad, and so far, I have this: set wb = createobject('internetexplorer.application') wb.statusbar = false wb.menub
Add this line to hide the hint text
wb.document.getElementsByClassName("phholder")(0).style.display = "none"
May I also suggest replacing wscript.sleep(5000)
with
DoWhiletrueif wb.readystate = 4thenexitdo
wscript.sleep(100)
Loop
Which should just wait until the page is loaded.
Post a Comment for "How Would I Program My Bot To Clear Away Placeholder Writing?"