Jump to content
Sign in to follow this  
GlennRogers

Need help with this Error

Recommended Posts

GlennRogers

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.

 

Error.png

myscript.au3

Share this post


Link to post
Share on other sites
mikell

The _IEFormGetObjByName($fraCriteria, "CRITERIA_FORM")  causes the error

Possibly $fraCriteria has to be declared as Global

Else use some debug to find the problem

Share this post


Link to post
Share on other sites
JLogan3o13

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


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
GlennRogers

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 :(

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×