Guest MrScary Posted February 8, 2005 Share Posted February 8, 2005 Hi All,AutoIt neophyte here. I've used this fine tool for some very basic automated mouse/window interactions in the past. Here's my new dilemma for which I need a more robust solution:I've got a web-based system status page which auto-refreshes at a certain rate. There is specific text that I'm interested in which can change location when the page refreshes.What I need to be able to do is find the text (which is a hyperlink), then either focus to it and send enter or resolve the screen X,Y position of the text/link, move the cursor to it, and click.Basic Sends and Mouse functions I'm familiar with, but using the two in tandem has me at a loss. Any assistance is greatly appreciated and thanks for your time.Regards,MrScary Link to comment Share on other sites More sharing options...
Andre Posted February 8, 2005 Share Posted February 8, 2005 Hi, When the page has only one hyperlink on it you can try to use InetGet and then search the downloaded file for the link to open it ? InetGet("http://www.autoitscript.com", "C:\mydownload.htm", 1) Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
Guest MrScary Posted February 8, 2005 Share Posted February 8, 2005 ~80% of the text on the page are hyperlinks. My apologies for not making this clear. It's 1 or 2 specific links which are of interest. Regards, MrScary Link to comment Share on other sites More sharing options...
Andre Posted February 8, 2005 Share Posted February 8, 2005 Hi, The links are changing all the time ? Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
Domonoky Posted February 8, 2005 Share Posted February 8, 2005 Hi.. i think the easiest and reliablest way would be to download the *.htm file (with InetGet) and the search the file for the Hyperlink (or text) you need. And then take the new found link, and get the new page, again with INetGet.. hope i could help, Domonoky Link to comment Share on other sites More sharing options...
zcoacoaz Posted February 9, 2005 Share Posted February 9, 2005 that may not work if the text changes, maybe you could count the links then get the page or something? [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] 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