Trouble with revBrowserGet htmltext
Posted: Thu Jul 02, 2009 1:40 pm
Hello,
I'm trying to use the revBrowserGet function to grab a webpage source:
The first put works and I get the rect, the second put gives me nothing. I'm testing with a very simple webpage:
Anybody have a clue to what revBrowserGet needs?
Thanks,
Simon
I'm trying to use the revBrowserGet function to grab a webpage source:
Code: Select all
on browserDocumentComplete sBrowserId, pURLS
put revBrowserGet(sBrowserId, "rect") into gRect
put revBrowserGet(sBrowserId, "htmltext") into gHTML
end browserDocumentComplete
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Server Available</title>
</head>
<body>
The Server is up and running.
</body>
</html>
Thanks,
Simon