<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: getElementsByClassName]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=13694</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13694&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: getElementsByClassName».]]></description>
		<lastBuildDate>Tue, 08 May 2018 21:42:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: getElementsByClassName]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125256#p125256</link>
			<description><![CDATA[<p>Вот простой пример:<br /></p><div class="codebox"><pre><code>html =
(
&lt;!doctype html&gt;
&lt;body&gt;
   &lt;div class=&quot;MyClass&quot;&gt;
      &lt;p&gt;Привет!&lt;/p&gt;
   &lt;/div&gt;
&lt;/body&gt;
)

oDoc := ComObjCreate(&quot;htmlfile&quot;)
oDoc.write(&quot;&lt;meta http-equiv=&quot;&quot;X-UA-Compatible&quot;&quot; content=&quot;&quot;IE=9&quot;&quot;&gt;&quot;)
oDoc.write(html)

MsgBox, % oDoc.getElementsByClassName(&quot;MyClass&quot;)[0].innerText</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 08 May 2018 21:42:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125256#p125256</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: getElementsByClassName]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125253#p125253</link>
			<description><![CDATA[<p><strong>teadrinker</strong>, мне надо получить изображение из поста ВКонтакте, получение текста есть, а получения изображений нет.</p>]]></description>
			<author><![CDATA[null@example.com (timk50)]]></author>
			<pubDate>Tue, 08 May 2018 20:57:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125253#p125253</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: getElementsByClassName]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125252#p125252</link>
			<description><![CDATA[<p><strong>teadrinker</strong>, а что, собственно, не так в синтаксисе? С ним я по мере пользования AHK ознакомлюсь, мне сейчас интересно, что не так с HTMLfile, да и вообще, возможно ли в данной ситуации работать с &lt;div class.</p>]]></description>
			<author><![CDATA[null@example.com (timk50)]]></author>
			<pubDate>Tue, 08 May 2018 20:52:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125252#p125252</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: getElementsByClassName]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125251#p125251</link>
			<description><![CDATA[<div class="quotebox"><cite>timk50 пишет:</cite><blockquote><p>хотел попробовать с сайта получить то, что содержится в class</p></blockquote></div><p>Вам сильно рановато ещё браться за COM-объекты, я бы советовал изучить сперва элементарный синтаксис.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 08 May 2018 20:42:47 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125251#p125251</guid>
		</item>
		<item>
			<title><![CDATA[AHK: getElementsByClassName]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125249#p125249</link>
			<description><![CDATA[<p>Здравствуйте, хотел попробовать с сайта получить то, что содержится в class, но AHK нелестно высказывается о getElementsByClassName, пишет, якобы неизвестное имя. Как их сдружить-то, или есть альтернатива? Или я косяк? Подскажите, пожалуйста. <br /></p><div class="codebox"><pre><code>
document := ComObjCreate(&quot;HTMLfile&quot;)
...
test%k% := document.getElementById(%elementid2%).getElementsByClassName(&quot;page_post_sized_thumbs  clear_fix&quot;)
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (timk50)]]></author>
			<pubDate>Tue, 08 May 2018 20:14:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125249#p125249</guid>
		</item>
	</channel>
</rss>
