Script error report

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wudzy

Script error report

13 Feb 2017, 06:48

I wonder if anyone can help/ guide me as a Newbie..

I am getting an error report "illegal Character .....web_browser.Visible := true ", not sure if any more lines will throw up an error after this line. I am using V2.0 AHK.

I have done a few AHK simple scripts for my JARVIS program and no issues. But this is not my work, I require it to Auto load a browser in IE and fill in the Name/ Password.

Not too sure where to look for an answer to this problem. As what I understand in my limited knowledge seems that the script is spot on..

thanks in anticipation

Code: Select all

My_User_Name := "*****"
 My_Pass_Word := "****"
web_browser := ComObjCreate("InternetExplorer.Application")
web_browser.Visible := true
web_browser.Navigate("www.********")
while web_browser.busy ; a while loop is a way to keep the script testing an IF like expression
 
sleep 100 ; IF web_browser.busy is true then sleep 100 milliseconds
sleep 1000
username_input := web_browser.document.getElementById("email")
username_input.value := My_User_Name
password_input := web_browser.document.getElementById("pass")
password_input.value := My_Pass_Word
web_browser.document.getElementById("u_0_n").click()
Return
[/text]

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: doodles333 and 328 guests