haggard Posted August 8, 2010 Posted August 8, 2010 (edited) Hi I have a one small problem with my script. $oIE = _IECreate ("link") here code to sign in on the website _IENavigate($oIE, "javascript code to make something visible(on the site)") $mess = _IEGetObjByName($oIE, 'message') _IEFormElementSetValue ($mess, "AutoIt IE.au3") Problem is that: when i sign in on the site and next i use _IEFormElementSetVaule for message with out using javascript code it works. But when i use _IENavigate to use javascript code i can't type text (_IeGetObjByName ($oIE <-because url isn't "link", it is my javascript code. Sorry, bad english xD. Can i make something like that:? $oIE = _IECreate ("link") sign in _IENavigate($oIE, "javascript code to make something visible(on the site)") $mess = _IEGetObjByName("link", 'message') _IEFormElementSetValue ($mess, "AutoIt IE.au3") Edited August 8, 2010 by haggard
haggard Posted August 8, 2010 Author Posted August 8, 2010 Bump When i am in url "link" _IEFormElementSetVaule for textarea works, but when i do _IENavigate (javascript code) then _IEFormElementSetVaule doesn't work. How to do it works?
StandardUser Posted August 8, 2010 Posted August 8, 2010 I didn't understand your problem completely, but instead of _IENavigate (javascript code) try to use $oIE.document.parentwindow.execScript("javascript code")
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