Jump to content

Recommended Posts

Posted

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.

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...