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
Solution 1:
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
Do While true
if wb.readystate = 4 then exit do
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?"