Quick Macros
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Quick Macros

Quick Macro assistance for beginners.
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  

 

 Html Parse

Go down 
AuthorMessage
QM Assistant
Admin



Posts : 2
Join date : 2008-01-22

Html Parse Empty
PostSubject: Html Parse   Html Parse EmptyWed Jan 23, 2008 12:13 am

Function ( HtmlParse )
Code:
[color=#0000ff]function [/color]$HTML [[color=#c0c0c0]MSHTML.[/color][color=#800080]IHTMLDocument2[/color]&doc2] [[color=#c0c0c0]MSHTML.[/color][color=#800080]IHTMLDocument3[/color]&doc3]

[color=#00a000];Creates document object model of HTML. [/color]

[color=#00a000];HTML - HTML.
;doc2, doc3 - variables that, after calling the function, can be used to get parsed HTML information. Can be omitted or 0. [/color]


[color=#c0c0c0]MSHTML.[/color][color=#800080]IHTMLDocument2 [/color]d._create([color=#0000ff]uuidof[/color]([color=#c0c0c0]MSHTML.[/color][color=#800080]HTMLDocument[/color]))
[color=#800080]ARRAY[/color]([color=#800080]VARIANT[/color]) a.create(1)
a[0]=HTML
d.write(a)

[color=#0000ff]if[/color](&doc2) doc2=d
[color=#0000ff]if[/color](&doc3) doc3=+d
Back to top Go down
https://quickmacros.board-directory.net
 
Html Parse
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Quick Macros :: Macros :: Useful Functions-
Jump to: