<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: InternetExplorer и DOM HTML]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=7504</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7504&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: InternetExplorer и DOM HTML».]]></description>
		<lastBuildDate>Mon, 27 Aug 2012 17:17:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: InternetExplorer и DOM HTML]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=63250#p63250</link>
			<description><![CDATA[<p>Сам отвечу на свой вопрос. </p><div class="codebox"><pre><code>allelements := Pwb.Document.body.all

Loop % allelements.Length
{
If ((allelements[A_Index-1].ClassName = &quot;h1&quot;) and (allelements[A_Index-1].InnerText = &quot;Производители&quot;))
    {
    .....CODE.....
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (chippp)]]></author>
			<pubDate>Mon, 27 Aug 2012 17:17:10 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=63250#p63250</guid>
		</item>
		<item>
			<title><![CDATA[AHK: InternetExplorer и DOM HTML]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=63237#p63237</link>
			<description><![CDATA[<div class="codebox"><pre><code>Pwb := ComObjCreate(&quot;InternetExplorer.Application&quot;) ;create a IE instance
Pwb.Visible := True
Pwb.Navigate(&quot;http://www.svyaznoy.ru/catalog/phone/224&quot;)

while, Pwb.ReadyState != 4
  Sleep, 10

for vallie in Pwb.Document.body.all   ; !!!СДЕСЬ ОШИБКА!!!
{
   if (vallie.ClassName = &quot;h1&quot; &amp; vallie.InnerText = &quot;Производители&quot;)
   {
      for vallie2 in vallie.firstChild
         MsgBox, % vallie2.firstChild.innerText
   }
}
return</code></pre></div><p>При выполнении кода цикла &quot;for&quot; вылезает ошибка:<br /><strong>Error: 0x80020006<br />Specifically:_NewEnum</strong></p><p>Плиз help me. как сделать правильно ?</p>]]></description>
			<author><![CDATA[null@example.com (chippp)]]></author>
			<pubDate>Mon, 27 Aug 2012 08:50:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=63237#p63237</guid>
		</item>
	</channel>
</rss>
