Touch Posted May 20, 2008 Posted May 20, 2008 Hello, I was looking to see if it is possible to read a "snippet" of text from a website. I need to read a word from dictionary.com. You enter a word and it will search Dictionary.com if the page says "No results found" then it won't do anything. Possible? Touch [center][font="Arial"]If practise makes perfect and no-ones perfect whats the point of practise?[/font]Sorry for my rude attitude when I started here.[/center]
Moderators big_daddy Posted May 20, 2008 Moderators Posted May 20, 2008 Something like this? #include <IE.au3> $sURL = "http://dictionary.reference.com/browse/AutoIt" $oIE = _IECreate($sURL, 1) $oH1 = _IETagNameGetCollection($oIE, "H1", 0) $sResults = _IEPropertyGet($oH1, "outertext") ConsoleWrite($sResults & @CR)
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