<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14907&amp;type=atom" />
	<updated>2019-08-08T17:22:30Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14907</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Остановить выполнение цикла дополнительными клавишами]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=135387#p135387" />
			<content type="html"><![CDATA[<p>Спасибо, то что нужно.</p>]]></content>
			<author>
				<name><![CDATA[Nerv0z]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40327</uri>
			</author>
			<updated>2019-08-08T17:22:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=135387#p135387</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Остановить выполнение цикла дополнительными клавишами]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=135340#p135340" />
			<content type="html"><![CDATA[<p>Правильней наверное было бы так:<br /></p><div class="codebox"><pre><code>~$*LButton::
while(GetKeyState(&quot;Lbutton&quot;, &quot;P&quot;))
{
	if (GetKeyState(&quot;Клавиша1&quot;, &quot;P&quot;) || GetKeyState(&quot;Клавиша2&quot;, &quot;P&quot;))
		break
	; код
}	
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2019-08-07T14:25:17Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=135340#p135340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Остановить выполнение цикла дополнительными клавишами]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=135337#p135337" />
			<content type="html"><![CDATA[<p>Добрый день, всем участникам форума.<br />прошу вашей помощи!!<br />Есть вот такой алгорит цикла:<br />Пока нажата ЛКМ, выполнять цикл, если ЛКМ отжата остановить цикл.</p><p>Как добавить ещё две любые клавиши для принудительной остановки цикла, даже если левая клавиша всё ещё нажата ?</p><p>Вот сам код, на текущем этапе:</p><div class="codebox"><pre><code>
~$*LButton::
Loop
{
	GetKeyState(&quot;Lbutton&quot;, &quot;P&quot;) 
	if LButton = U
	{
	break 
	}
}	
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Nerv0z]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40327</uri>
			</author>
			<updated>2019-08-07T10:56:40Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=135337#p135337</id>
		</entry>
</feed>
