Sign in to follow this  
Followers 0
sickliberty

Detecting a form

2 posts in this topic

Hey guys, I'm just starting to learn, so please bear with me. I'm trying to make a script that would go to a form with IE and perform some kind of action. How can I make the program detect whether the form exists and have it give me back a message instead of an autoit error?

Func fillform()
        With $ObjIE.document.forms ("loginform")
.... blah blah blah... modify parameters / login... basically perform some kind of action
        EndWith
    EndFunc

Thanks.

Share this post


Link to post
Share on other sites



Hey guys, I'm just starting to learn, so please bear with me. I'm trying to make a script that would go to a form with IE and perform some kind of action. How can I make the program detect whether the form exists and have it give me back a message instead of an autoit error?

Func fillform()
        With $ObjIE.document.forms ("loginform")
.... blah blah blah... modify parameters / login... basically perform some kind of action
        EndWith
    EndFunc

Thanks.

check out dale's ie.au3, it handles forms and everything else in IE very nicely.

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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  
Followers 0