<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: GUI Если нажата кнопка интерефейса, выйти из цикла]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=9839</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9839&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: GUI Если нажата кнопка интерефейса, выйти из цикла».]]></description>
		<lastBuildDate>Sun, 27 Jul 2014 12:02:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: GUI Если нажата кнопка интерефейса, выйти из цикла]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=85290#p85290</link>
			<description><![CDATA[<p>Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (raznoczvetov)]]></author>
			<pubDate>Sun, 27 Jul 2014 12:02:34 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=85290#p85290</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI Если нажата кнопка интерефейса, выйти из цикла]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=85288#p85288</link>
			<description><![CDATA[<p>Так правильно:<br /></p><div class="codebox"><pre><code>If (control=&quot;Button14&quot;)</code></pre></div><p>Или<br /></p><div class="codebox"><pre><code>If control=Button14</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Sun, 27 Jul 2014 11:58:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=85288#p85288</guid>
		</item>
		<item>
			<title><![CDATA[AHK: GUI Если нажата кнопка интерефейса, выйти из цикла]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=85287#p85287</link>
			<description><![CDATA[<p>Как сделать так, чтобы при нажатии на кнопку с сontrol = &quot;Button14&quot;, завершался цикл.<br />Пробовал по разному. Нажатие кнопки отслеживает, но проверку </p><div class="codebox"><pre><code>If %control% = &quot;Button14&quot;
              {
                MsgBox, Нажата кнопка %control%
                Break
              }
</code></pre></div><p>не делает. Сам код:</p><div class="codebox"><pre><code>Loop
{
Sleep, 20
If GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
   MouseGetPos, , , id, control
   WinGetTitle, title, ahk_id %id%
   WinGetClass, class, ahk_id %id%
   MsgBox, Нажата кнопка %control%
   
   If %control% = &quot;Button14&quot;
      {
       MsgBox, Нажата кнопка %control%
       Break
       }
   }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (raznoczvetov)]]></author>
			<pubDate>Sun, 27 Jul 2014 11:24:51 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=85287#p85287</guid>
		</item>
	</channel>
</rss>
