<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11075&amp;type=atom" />
	<updated>2015-11-12T21:43:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11075</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98966#p98966" />
			<content type="html"><![CDATA[<p>Тесты показали в асинхронном режиме работает как часы.<br />В синхронном же перестает реагировать на горячие клавиши.<br />Наверное, когда идет подряд несколько тысяч запросов, то что-то автохотки клинит.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-11-12T21:43:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98966#p98966</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98961#p98961" />
			<content type="html"><![CDATA[<p>Кстати вчера на v1.1.22.07 были проблемы с хоткеями, тоже не работали, помогла перезагрузка.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-11-12T15:25:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98961#p98961</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98960#p98960" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>А запросы асинхронные?</p></blockquote></div><p>Да и так и так пробовал.<br />Потестирую на новой версии AHK.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-11-12T15:23:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98960#p98960</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98959#p98959" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Кушает в это время он около 16,000K.</p></blockquote></div><p>16мб как бы ни о чём должно быть.</p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Может это быть связано с запросами WinHttpRequest?</p></blockquote></div><p>А запросы асинхронные?</p><p>Кстати для памяти может помочь:<br /></p><div class="codebox"><pre><code>
#NoEnv
ListLines, Off
#KeyHistory, 0
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-11-12T15:17:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98959#p98959</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98958#p98958" />
			<content type="html"><![CDATA[<p>Проапдейтился с 1.1.22.07 на 1.1.22.09<br />Может в этом была проблема, хотя таймеров у меня нету:<br /></p><div class="quotebox"><blockquote><p>1.1.22.09 - November 11, 2015<br />Fixed some issues with SetTimer Delete.</p><p>&nbsp; &nbsp; KeyHistory&#039;s timer count erroneously included deleted timers.<br />&nbsp; &nbsp; Calling KeyHistory within a thread started by a timer crashed the script if the timer had been deleted but not turned off.<br />&nbsp; &nbsp; Deleting the most recently created timer prevented subsequently created timers from working unless ALL timers were deleted.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-11-12T15:15:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98958#p98958</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98957#p98957" />
			<content type="html"><![CDATA[<p>Так скрипт не зависает.<br />Цикл идет, новые найденные ссылки в логе создаются.<br />Просто с увеличением потребляемой памяти скрипт перестает реагировать на любые нажатия с клавиатуры.<br />Пытаюсь написать несложный пример, чтобы можно было выставить на форум и протестировать.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-11-12T14:13:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98957#p98957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98956#p98956" />
			<content type="html"><![CDATA[<p>Я обычно всюду <em>tooltip</em>&#039;ы вставляю с переменными, включая <em>a_tickcount</em>, сразу становится понятно где &quot;зависает&quot;.</p><p>А вообще, советую вместо больших по времени <em>sleep</em>&#039;ов использовать самопальную функцию <em>wait()</em>, содержащую цикл со sleep,10.</p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-11-12T13:43:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98956#p98956</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98955#p98955" />
			<content type="html"><![CDATA[<p>Нечасто с ними работаю. Вроде, может быть, что скрипт зависает, когда на запрос долго нет ответа. Могу только посоветовать провести дебаггинг с последовательным закомментированием потенциально проблемных участков кода.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-12T12:35:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98955#p98955</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98953#p98953" />
			<content type="html"><![CDATA[<p>В скрипте идет цикл с парсингом кучи страниц с нета.<br />Цикл работает - при появлении новых страниц msgbox появляется.<br />Горячая кнопка - просто обычный вызываемый msgbox, которая не работает даже, когда идет sleep между парсингом длительностью в 1 минуту.<br />При этом вначале работает, а потом перестает.<br />Может это быть связано с запросами WinHttpRequest?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-11-12T12:16:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98953#p98953</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98951#p98951" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>В чем может быть причина и как побороть?</p></blockquote></div><p>Зацикливается; найти, где именно, исправить.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-12T12:09:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98951#p98951</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Скрипт перестает реагировать на горячие клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98948#p98948" />
			<content type="html"><![CDATA[<p>Через какое-то время работы скрипт перестает реагировать на горячие клавиши.<br />При этом в view-&gt;key history тоже новые клавиши не отображаются.<br />Пробовал и клавиатурный хук устанавливать - все без толку.<br />Кушает в это время он около 16,000K.<br />В чем может быть причина и как побороть?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-11-12T11:59:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98948#p98948</id>
		</entry>
</feed>
