Wolfiesaxah Posted December 25, 2014 Posted December 25, 2014 (edited) a Edited December 26, 2014 by Wolfiesaxah
alienclone Posted December 26, 2014 Posted December 26, 2014 is it possible that your script is searching for the innerhtml before the frame has finished loading completely? that is the problem i have sometimes. my solution was to have my script check that the innerhtml is there, then search it for my string. it may be sloppy but it's pretty reliable. Do $test=_IEPropertyGet($oIE,"innerhtml") until $test<>"" If @error Then MsgBox(262192, "", @ComputerName & " slaps " & @UserName & " around a bit with a large trout!") EndIf "Yeah yeah yeah patience, how long will that take?" -Ed Gruberman REAL search results | SciTE4AutoIt3 Editor Full Version
Moderators SmOke_N Posted December 26, 2014 Moderators Posted December 26, 2014 frame.document.innerhtml? But more to the point, if you're looking for a login feature text, it has an id/name/class more than likely. Look for the object (eg. frame.document.getElementById("idOfTextLoginObject").value/innertext/outertext/innerhtml/outerhtml etc.) and get the text from that. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now