<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Как прервать один цикл и начать другой через 300ms]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=13428</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13428&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Как прервать один цикл и начать другой через 300ms».]]></description>
		<lastBuildDate>Wed, 31 Jan 2018 02:16:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Как прервать один цикл и начать другой через 300ms]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=123489#p123489</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong> Спасибо, всё работает</p>]]></description>
			<author><![CDATA[null@example.com (artur.petrash.98)]]></author>
			<pubDate>Wed, 31 Jan 2018 02:16:11 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=123489#p123489</guid>
		</item>
		<item>
			<title><![CDATA[Re: Как прервать один цикл и начать другой через 300ms]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=123488#p123488</link>
			<description><![CDATA[<p>Мне кажется что это можно сделать данным способом:<br /></p><div class="codebox"><pre><code>~sc20::
time := A_TickCount
Loop
{
	if (A_TickCount - time &lt; 300)
		Send, {sc39}{sc2D}{sc2F}
	else
		Send, {sc10}{sc11}{sc2E}
	Sleep, 1
	If (!GetKeyState(&quot;sc20&quot;, &quot;P&quot;))
		Break
}
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Wed, 31 Jan 2018 01:39:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=123488#p123488</guid>
		</item>
		<item>
			<title><![CDATA[Как прервать один цикл и начать другой через 300ms]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=123486#p123486</link>
			<description><![CDATA[<p>Мне нужно чтобы я зажал клавишу d и первые 300ms&nbsp; работал первый цикл, а после второй цикл до тех пор пока отпустится клавиша d <br />Ниже я сделал это 2мя клавишами, но тайминг 300ms приходится ловить вручную<br />~sc20::<br />&nbsp; &nbsp;Loop<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; Send, {sc39}{sc2D}{sc2F}<br />&nbsp; &nbsp; &nbsp; Sleep, 1<br />&nbsp; &nbsp; &nbsp; If !GetKeyState(&quot;sc20&quot;, &quot;P&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Break<br />&nbsp; &nbsp;}<br />&nbsp; &nbsp;Return</p><br /><p>~sc21::<br />&nbsp; &nbsp;Loop<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; Send, {sc10}{sc11}{sc2E}<br />&nbsp; &nbsp; &nbsp; Sleep, 1<br />&nbsp; &nbsp; &nbsp; If !GetKeyState(&quot;sc21&quot;, &quot;P&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Break<br />&nbsp; &nbsp;}<br />&nbsp; &nbsp;Return</p><br /><p>!sc19::<br />Suspend<br />Return</p>]]></description>
			<author><![CDATA[null@example.com (artur.petrash.98)]]></author>
			<pubDate>Tue, 30 Jan 2018 23:31:13 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=123486#p123486</guid>
		</item>
	</channel>
</rss>
