Jump to content

Changing text of forms in Firefox


emh7x
 Share

Recommended Posts

Hey. I'm trying to automate my daily login to itslearning.com. At the moment my code is:

Run ("C:\Program Files\Mozilla Firefox\firefox.exe www.itslearning.com")
WinWaitActive("it's learning 3.3 - Mozilla Firefox")
Sleep (1000)
Send ("My login")
Send ("{TAB}")
Send ("My password")
Send ("{Enter}")

Im wondering, if i could make autoit change the text of the 2 forms (on the left of the page if anyones looking at the link) to my username and password directly, without me having to have firefox as the active window. If i could, i would then make autoit do everything in the background, and as soon as autoit logged in for me, make the browser window active. I tried using ControlSend, but realized that the forms arent controls (lol :( ). I Cant seem to find anything for forms. only some IEform commands, but im using firefox, will they work? i hope i have expressed myself clear:)

ANY help will be much appreciated :mellow: thanks.

Link to comment
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
 Share

  • Recently Browsing   0 members

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