GlennRogers Posted September 25, 2013 Share Posted September 25, 2013 Was wondering if anyone could help me find the root cause of this error im getting. Attached is AU3 file im working with. When i run the Criteria() func and take away the above code that part works, and vice versa but when I run everything I get this error. myscript.au3 Link to comment Share on other sites More sharing options...
mikell Posted September 25, 2013 Share Posted September 25, 2013 The _IEFormGetObjByName($fraCriteria, "CRITERIA_FORM") causes the error Possibly $fraCriteria has to be declared as Global Else use some debug to find the problem Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 25, 2013 Moderators Share Posted September 25, 2013 The URL looks to be internal. Makes it nigh impossible to help you troubleshoot. But I would agree, it obviously does not like $o_object.document.forms. Try _IEFormGetCollection "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
JohnOne Posted September 25, 2013 Share Posted September 25, 2013 For a start employ an error handler. For example ... _IEErrorHandlerRegister(...) 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...
GlennRogers Posted September 25, 2013 Author Share Posted September 25, 2013 I figured it out. The frame $fraCriteria wasn't visible until the previous code had loaded that frame. Just had to swap some lines around - rookie mistake 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