Sign in to follow this  
Followers 0
chachew

Use webpage txtbox names instead of MouseClick Coords

4 posts in this topic

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

Share this post


Link to post
Share on other sites



Welcome to the Forum. See the IE Management section of the Helpfile, and this may help too,


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Thanks everyone i figured it out with the IE functions.

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