hkeric2011 Posted December 20, 2011 Share Posted December 20, 2011 I am a beginner of autoit. Many website will use Javascript to replace the submit function without the form. After i use autoit to submit or click the button and go to the next page. How can i continuous do the action in the new page? For example: $oIE = _IECreate ("http://xxx.com") $oSelect = _IEGetObjByName($oIE, "search") $oIE2 = _IEAction($oSelect, "click") after open a new browser and enter the search function the page will become a new page, what can i do to click another button / hyperlink in the new page? i use $oSelect2 = _IEGetObjByID($oIE, "A1") $oIE2 = _IEAction($oSelect2, "click") and no response. As i known that enter a new page, the $oIE will be different, how can i get the new web obj to do the next action? I have search this for few days, can any one tell me if my idea possible or not. If yes, can you tell me how to do or just give me the function name and i search and study by myself. Link to comment Share on other sites More sharing options...
JohnOne Posted December 20, 2011 Share Posted December 20, 2011 First thing that springs to mind is $oIE2 = _IEAttach(params), once you get the page with that, use it just as you would _IECreate(). AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
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