<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBScript:InternetExplorer.Appilication]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=7267</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7267&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBScript:InternetExplorer.Appilication».]]></description>
		<lastBuildDate>Fri, 08 Jun 2012 10:13:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBScript:InternetExplorer.Appilication]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=60822#p60822</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>В vbscript плохо разбираюсь так что не судите строго.</p></blockquote></div><p>Тогда очень поможет эта страничка: <a href="http://www.script-coding.com/DOM.html">Использование HTML DOM (Document Object Model) в скриптах на базе Windows Script Host</a><br />Ссылки можно так собрать: </p><div class="codebox"><pre><code>
Sub Navigate(Link)
	objIE.Navigate Link
	While objIE.Busy
		WScript.Sleep 100
	Wend
End Sub 

Set objIE = CreateObject(&quot;InternetExplorer.Application&quot;)
objIE.Visible = True

Navigate &quot;http://www.yandex.ru/&quot;
For Each tag In objIE.Document.getElementsByTagName(&quot;a&quot;)
	link = tag.getAttribute(&quot;href&quot;)
    If (InStr(link,&quot;http&quot;)&lt;&gt;0) Then 
		WScript.Echo link
    End If 
Next
&#039;objIE.Quit</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Felix Faria)]]></author>
			<pubDate>Fri, 08 Jun 2012 10:13:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=60822#p60822</guid>
		</item>
		<item>
			<title><![CDATA[VBScript:InternetExplorer.Appilication]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=60817#p60817</link>
			<description><![CDATA[<div class="codebox"><pre><code>Set objIE = CreatEObject(&quot;InternetExplorer.Application&quot;)
objIE.Visible = True
strURL = &quot;yandex.ru&quot;
objIE.Navigate strURL
While objIE.ReadyState &lt;&gt; 4
    WScript.Sleep 100
Wend</code></pre></div><p>Вообщем суть в том чтобы программно получить коллекцию ссылок на странице <br />и сделать методом click() по индексу этой коллекции.<br />В vbscript плохо разбираюсь так что не судите строго.</p><p>P.s Помоему получить ссылки можно через&nbsp; objIE.Document.(.....)<br />А как сделать клик&nbsp; по элементу?:/</p>]]></description>
			<author><![CDATA[null@example.com (CyberW0rm)]]></author>
			<pubDate>Fri, 08 Jun 2012 08:18:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=60817#p60817</guid>
		</item>
	</channel>
</rss>
