<?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=11653&amp;type=atom" />
	<updated>2016-05-31T11:06:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11653</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Ожидание нажатия определенной клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104474#p104474" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#If test = 666
!1::
MsgBox Yes
MsgBox 123456
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-31T11:06:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104474#p104474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Ожидание нажатия определенной клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104473#p104473" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Непонятно, какой Enter.</p></blockquote></div><p>Моя вина, не так объяснил. <br /></p><div class="codebox"><pre><code>#If test = 666
!1::MsgBox Yes</code></pre></div><p>Так он может лишь выдавать только MsgBox &quot;Yes&quot;, а у меня кроме этого будет много циклов.</p>]]></content>
			<author>
				<name><![CDATA[QWYSFGNN]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33909</uri>
			</author>
			<updated>2016-05-31T11:04:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104473#p104473</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Ожидание нажатия определенной клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104469#p104469" />
			<content type="html"><![CDATA[<p>Знак процента после #If не нужен, лучше так:<br /></p><div class="codebox"><pre><code>test := 123
#If test = 123
!2::MsgBox No
#If test = 666
!1::MsgBox Yes</code></pre></div><div class="quotebox"><cite>QWYSFGNN пишет:</cite><blockquote><p>А так разве нельзя переносить (Enter после !1::)? А если скрипт большой и состоит из циклов?</p></blockquote></div><p>Непонятно, какой Enter.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-05-31T10:53:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104469#p104469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Ожидание нажатия определенной клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104467#p104467" />
			<content type="html"><![CDATA[<p>Т.е. Если я хочу, чтобы после MsgBox&#039;a &quot;Yes&quot; еще выводило MsgBox, &quot;123456&quot;</p>]]></content>
			<author>
				<name><![CDATA[QWYSFGNN]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33909</uri>
			</author>
			<updated>2016-05-31T10:43:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104467#p104467</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Ожидание нажатия определенной клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104466#p104466" />
			<content type="html"><![CDATA[<p>Спасибо. <br /></p><div class="codebox"><pre><code>test = 123
#if % test = 123
!2::
MsgBox No
#if % test = 666
!1::
MsgBox Yes</code></pre></div><p>А так разве нельзя переносить (Enter после !1::)? А если скрипт большой и состоит из циклов?</p>]]></content>
			<author>
				<name><![CDATA[QWYSFGNN]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33909</uri>
			</author>
			<updated>2016-05-31T10:40:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104466#p104466</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Ожидание нажатия определенной клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104465#p104465" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>test = 123
#if % test = 123
!2::MsgBox No
#if % test = 666
!1::MsgBox Yes</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2016-05-31T10:32:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104465#p104465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Ожидание нажатия определенной клавиши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104464#p104464" />
			<content type="html"><![CDATA[<p>Приветствую еще раз. Дан код, к примеру:<br /></p><div class="codebox"><pre><code>test = 123
if %test% = 666
{
!1::
MsgBox, Yes
}
else
{
!2::
MsgBox, No
}</code></pre></div><p>Только если так будет, при нажатии Alt+1, он высветит В ЛЮБОМ случае бокс &quot;Yes&quot;.&nbsp; А нужно, чтобы он Alt+1 нажимал только в том случае, если test=666, а Alt+2 только в том случае, если test=123. <br />Заранее спасибо)</p>]]></content>
			<author>
				<name><![CDATA[QWYSFGNN]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33909</uri>
			</author>
			<updated>2016-05-31T10:17:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104464#p104464</id>
		</entry>
</feed>
