<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: работа с консолью Firefox]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=14554</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14554&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: работа с консолью Firefox».]]></description>
		<lastBuildDate>Tue, 02 Apr 2019 22:59:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=133303#p133303</link>
			<description><![CDATA[<p>В общем, ради интереса получилось отобразить картинку капчи:<br />Получаем ее токен: <a href="https://egrul.nalog.ru/static/captcha.html">https://egrul.nalog.ru/static/captcha.html</a>, затем добавляем полученный токен после параметра a: <a href="https://egrul.nalog.ru/static/captcha.bin?a=полученный%20токен&amp;version=3">https://egrul.nalog.ru/static/captcha.b … ;version=3</a><br />И на самом деле получаем картинку капчи для данного токена.<br />Но, при получении vyp3CaptchaToken пишет: &quot;картинка не распознана&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Tue, 02 Apr 2019 22:59:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=133303#p133303</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=132005#p132005</link>
			<description><![CDATA[<p>У меня нет.<br />Возможно, если постоянно отправлять в цикле запросы, либо заходить с левых айпи, то и покажет.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Thu, 07 Feb 2019 02:01:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=132005#p132005</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=132004#p132004</link>
			<description><![CDATA[<p>А у вас отображается картинка капчи, у меня нет.</p>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Thu, 07 Feb 2019 01:40:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=132004#p132004</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=132003#p132003</link>
			<description><![CDATA[<p>Я не вижу там никакого апи.<br />Капча же должна приходить, когда сервер посчитает нужным вам ее послать.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Thu, 07 Feb 2019 01:21:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=132003#p132003</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=132002#p132002</link>
			<description><![CDATA[<p>Плюс еще апи этого сайта нужно знать. Вот <a href="http://forum.infostart.ru/forum9/topic110605/message2125094/#message2125094/">здесь</a> человек объясняет, как работать с этим апи. Вроде все понятно, но у меня не получает никакую картинку капчи, только токен.</p>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Thu, 07 Feb 2019 00:46:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=132002#p132002</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=132000#p132000</link>
			<description><![CDATA[<p>Для получения информации с этого сайта IE не нужен.<br />Читайте про WinHttpRequest.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Wed, 06 Feb 2019 15:53:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=132000#p132000</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=131998#p131998</link>
			<description><![CDATA[<p><strong>dmitry-semin</strong></p><div class="codebox"><pre><code>sleep 3000

loop % ie.document.getElementsByClassName(&quot;btn-with-icon btn-excerpt op-excerpt&quot;).length
{
ie.document.getElementsByClassName(&quot;btn-with-icon btn-excerpt op-excerpt&quot;)[A_index-1].click()
}	</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Wed, 06 Feb 2019 14:09:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=131998#p131998</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=131997#p131997</link>
			<description><![CDATA[<p><strong>inseption86</strong><br />Ваш код в части поиска классно работает! Спасибо!</p><p>Жаль я не программист по образованию, а HTML для меня темный лес. Не смог подобрать аналогичный код для кнопки &quot;Получить выписку&quot;.</p><p>Не смог в нее кликнуть)</p><p>коду добавил следующее:<br /></p><div class="codebox"><pre><code>
Sleep 2000
ie.document.getElementById(&quot;btnReference&quot;).click()
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (dmitry-semin)]]></author>
			<pubDate>Wed, 06 Feb 2019 13:33:06 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=131997#p131997</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=131990#p131990</link>
			<description><![CDATA[<p><strong>dmitry-semin</strong></p><p>У меня на работе почти такая же выгрузка, каждый день по 1000 строк нужно проверять в базе, я сделал через ie и excel</p><br /><div class="codebox"><pre><code>#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#SingleInstance force   

ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Visible := true
ie.Navigate(&quot;https://egrul.nalog.ru/index.html&quot;)
while ie.readystate &lt;&gt; 4
Sleep 500


ie.document.getElementById(&quot;query&quot;).value := &quot;Смирнов Александр Алексеевич&quot;

ie.document.getElementById(&quot;btnSearch&quot;).click()


^ESC::
{
Process,close,iexplore.exe
ExitApp
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Tue, 05 Feb 2019 16:44:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=131990#p131990</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=131989#p131989</link>
			<description><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=14411">Есть</a>, но здесь этим пока никто не занимался. Есть только по Хрому наработки.<br />Также ищите темы по &quot;Selenium&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 05 Feb 2019 15:53:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=131989#p131989</guid>
		</item>
		<item>
			<title><![CDATA[AHK: работа с консолью Firefox]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=131988#p131988</link>
			<description><![CDATA[<p>Добрый день!<br />Подскажите, пожалуйста, возможно ли посредством AHK нажать кнопку на сайте (не ссылка).<br />Сайт <a href="https://egrul.nalog.ru/index.html">https://egrul.nalog.ru/index.html</a>.<br />Интересует кнопка &quot;Найти&quot;.<br />В консоли Firefox этот элемент отображается вот так: <br />&lt;button type=&quot;submit&quot; id=&quot;btnSearch&quot; class=&quot;btn-with-icon btn-search&quot;&gt;Найти&lt;/button&gt;</p><p>Сейчас решаю проблему командами run, click. Возможно есть менее топорный вариант?</p>]]></description>
			<author><![CDATA[null@example.com (dmitry-semin)]]></author>
			<pubDate>Tue, 05 Feb 2019 15:14:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=131988#p131988</guid>
		</item>
	</channel>
</rss>
