chachew Posted February 6, 2011 Share Posted February 6, 2011 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 More sharing options...
somdcomputerguy Posted February 6, 2011 Share Posted February 6, 2011 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. Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 6, 2011 Share Posted February 6, 2011 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 More sharing options...
chachew Posted February 7, 2011 Author Share Posted February 7, 2011 Thanks everyone i figured it out with the IE functions. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now