<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Потоки в #MaxThreads]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14349&amp;type=atom" />
	<updated>2018-11-26T15:03:41Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14349</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130057#p130057" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=13184">AHK: Работа с потоками autohotkey.dll</a></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-11-26T15:03:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130057#p130057</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130055#p130055" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Не нашел, может ссылочка есть?</p>]]></content>
			<author>
				<name><![CDATA[wladkokopops]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34240</uri>
			</author>
			<updated>2018-11-26T14:52:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130055#p130055</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130042#p130042" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Для настоящей многопоточности нужен AHK_H.</p></blockquote></div><p>Достаточно AutoHotkey.dll, здесь была тема.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-11-26T10:29:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130042#p130042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130040#p130040" />
			<content type="html"><![CDATA[<p>В названии темы должен быть указан синтаксис языка, к которому относится обсуждение. Посмотрите, как оформлены другие темы.</p><p>&quot;Однопоточный&quot; AHK_L - может эмулировать многопоточность через <a href="https://autohotkey.com/docs/commands/SetTimer.htm">таймеры</a>. В 99% случаев, этого достаточно, чтобы описать многозадачный сценарий. Сформулируйте задачу и разберитесь в механике языка, прежде чем собирать &quot;костыли из костылей&quot;, не понимая самых примитивных принципов.</p>]]></content>
			<author>
				<name><![CDATA[KusochekDobra]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33846</uri>
			</author>
			<updated>2018-11-26T09:27:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130040#p130040</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130039#p130039" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Автохотки - однопоточная программа.<br />Для настоящей многопоточности нужен AHK_H.</p></blockquote></div><p>Это тот же AHK, только с многопоточностью?</p>]]></content>
			<author>
				<name><![CDATA[wladkokopops]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34240</uri>
			</author>
			<updated>2018-11-26T09:01:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130039#p130039</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130038#p130038" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong><br />Вот поточность с Хоткей, она работает, и добавляет именно по 10 единиц , может как то в конце микропрограммы можно отправить эту же F ? или эмулировать ее зажатие?<br /></p><div class="codebox"><pre><code>
#MaxThreads 10
Gui, Add, Text, hwndhText1 w500
gui, show

shet := 0

#MaxThreadsPerHotkey 10
F::
shet := % shet + 1
ControlSetText, , Проверено вариаций этого скрипта : %shet%, ahk_id %hText1% 
sleep, 1000
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[wladkokopops]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34240</uri>
			</author>
			<updated>2018-11-26T08:52:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130038#p130038</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130037#p130037" />
			<content type="html"><![CDATA[<p>Автохотки - однопоточная программа.<br />Для настоящей многопоточности нужен AHK_H.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-26T08:43:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130037#p130037</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Потоки в #MaxThreads]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130036#p130036" />
			<content type="html"><![CDATA[<p>Есть скрипт :<br /></p><div class="codebox"><pre><code>
#MaxThreads 5
Gui, Add, Text, hwndhText1 w500
gui, show

shet := 0
Gosub, F
F:
loop {
shet := % shet + 1
ControlSetText, , Проверено вариаций этого скрипта : %shet%, ahk_id %hText1% 
sleep, 1000 ; для того чтобы увидеть поточность нАглядно
}
</code></pre></div><p>Вопрос:<br />Как заставить его работать на все 5 потоков?<br />Чтобы таймер в итоге прибавлял по 5 единиц сразу, нужна именно поточность , а не цифра.</p>]]></content>
			<author>
				<name><![CDATA[wladkokopops]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34240</uri>
			</author>
			<updated>2018-11-26T08:37:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130036#p130036</id>
		</entry>
</feed>
