Jump to content

Use webpage txtbox names instead of MouseClick Coords


chachew
 Share

Recommended Posts

Im new to AutoIT and also new to programming in general so sorry for any dumb questions

Sorry if this question has been used before but what i am wanting to do is have the mouse click on a txtbox inside of a webpage by the pages name instead of the MouseClick coordinates. Seems like the coordinates work perfectly as long as my browser and PC settings are the same on multiple PC's. I want to build a script that can perform the same task on different OS's and different IE versions and settings. If the IE window sizing is different then the MouseClick() doesnt seem to work correctly. If i view the source of the website that i am trying to pull the data from then i can get the txtbox names so how can i call those names for mouse clicks.

Any help would be appreciated, Thanks

Link to comment
Share on other sites

Look at the _IE* functions in the help file, and once you learn how to get a reference to the web page element of interest, look at _IEAction() with "click".

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...