Retrieve web page
Posted: Thu Jan 28, 2010 6:35 pm
I can use the following code to retrieve information from a web site but it is not quite what I want.
When tData is displayed (and I'm not sure I'm using the proper terminology here) it shows up as HTMl and the various links are active. When I put a break point at line 4 and look at tData in the IDE, it shows up as just plain text with all the HTMl codes in plain sight. Is there a command or function that can be used on tData to convert it to plain text for display?
Thanks in advance for any help you can give.
Regards,
Larry
Code: Select all
on mouseUp
put "http://finance.yahoo.com/q/pr?s=AAPL" into myURL
put url myURL into tData
answer tData
end mouseUp
Thanks in advance for any help you can give.
Regards,
Larry