TimeSurfer
04-29-2008, 11:55 PM
GetHTML has only 1 function, and that is to allow you to download the source html for any givin webpage. It outputs to the system's temporary folder so this shouldn't be a problem for vista system's. Then simply parse the information as you normally would in AMS. [Example Provided]
-Statement's-
This is actually a dll I made the other day for an action plugin I'm currently working on, although the dll itself is only a small piece of the plugin I had actually never intended to release the dll seperately, or with an apz preview of one thing the plugin will be capable of with this dll. But hey wth here it is anyway's :lol Enjoy m8's
-Function's-
GetHTML(url)
-Calling Method-
String
[Example]
url = Web.GetURL("Web1");
gHTML = DLL.CallFunction("AutoPlay\\Docs\\getHTML.dll", "GetHTML", "\""..url.."\"", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
if gHTML == "OK" then
--do something here
else
--do something else here
end
-Note's-
The included apz example is just one way in which the new action plugin will utilize this dll. In this example using the dll and a little code we are able to extract the page title from the html and use it for creating page history. ;)
-Statement's-
This is actually a dll I made the other day for an action plugin I'm currently working on, although the dll itself is only a small piece of the plugin I had actually never intended to release the dll seperately, or with an apz preview of one thing the plugin will be capable of with this dll. But hey wth here it is anyway's :lol Enjoy m8's
-Function's-
GetHTML(url)
-Calling Method-
String
[Example]
url = Web.GetURL("Web1");
gHTML = DLL.CallFunction("AutoPlay\\Docs\\getHTML.dll", "GetHTML", "\""..url.."\"", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL);
if gHTML == "OK" then
--do something here
else
--do something else here
end
-Note's-
The included apz example is just one way in which the new action plugin will utilize this dll. In this example using the dll and a little code we are able to extract the page title from the html and use it for creating page history. ;)