<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ожидание нажатия 1 из 2 клавиш]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10554&amp;type=atom" />
	<updated>2015-04-08T17:19:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10554</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93136#p93136" />
			<content type="html"><![CDATA[<p>OFF:<br />Я думал модераторы сообщают о проблемах подобного рода администраторам...<br />Еще раз прошу прощения.</p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-04-08T17:19:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93136#p93136</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93135#p93135" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alectric пишет:</cite><blockquote><p>сделайте обозначение для тега &quot;quote&quot; (что-то вроде шапки перед полем цитаты)</p></blockquote></div><p>Ну, лично я ничего сделать не могу, это вам к администраторам обращаться нужно.</p><div class="quotebox"><blockquote><p>Я не смотрю на это, это не важно для получения требуемой информации.</p></blockquote></div><p>Ну вы же не один тут! У меня, к примеру, скрипт в браузере, показывающий в поле кода кнопку &quot;Выделить код&quot;. В любом случае, раз есть правила, они должны выполняться. А то ведь одному покажется неважным одно, другому — другое, во что тогда форум превратится?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-08T17:15:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93135#p93135</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93133#p93133" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>оформление кода в этом посте неверное, читайте правила, код оформляется тегом code.</p></blockquote></div><p>Прошу прощения, в таком случае сделайте обозначение для тега &quot;quote&quot; (что-то вроде шапки перед полем цитаты), чтобы было видно что это цитирование, а не код. Я не вижу разницы внешне между этими тегами. Шрифт разный? Я не смотрю на это, это не важно для получения требуемой информации.</p>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-04-08T17:08:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93133#p93133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93125#p93125" />
			<content type="html"><![CDATA[<p>Спасибо, скрипты замечательно работают. )</p>]]></content>
			<author>
				<name><![CDATA[mihail]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32976</uri>
			</author>
			<updated>2015-04-08T16:05:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93125#p93125</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93122#p93122" />
			<content type="html"><![CDATA[<p>Ага, точно, плохо подумал. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="codebox"><pre><code>Numpad1::
   SendMessage, 0x50,, 0x4090409,, A
   setkeydelay, 0
   sleep, 55
   send, text
   
   wait := 1
   While wait
      Sleep, 100
   
   MsgBox, нажата Enter или Esc
   Return
   
#If wait
Enter::
Esc:: wait := &quot;&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-08T15:48:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93122#p93122</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93121#p93121" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
#If !Wait
1::
    MsgBox,,, % A_ThisHotkey, 0.3
    Wait := 1
    Return

#If Wait
Enter::
Esc::
    Wait := 0
    MsgBox,,, % A_ThisHotkey, 0.3
    Return
#If</code></pre></div><p><strong>teadrinker</strong> опередил. <br />А есть смысл в двух переменных pressed &amp;&amp; wait, разве одной не достаточно?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2015-04-08T15:38:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93121#p93121</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93120#p93120" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Numpad1::
   SendMessage, 0x50,, 0x4090409,, A
   setkeydelay, 0
   sleep, 55
   send, text

   While !pressed &amp;&amp; wait := 1
      Sleep, 100
   pressed := wait := &quot;&quot;
   
   MsgBox, нажата Enter или Esc
   Return
   
#If wait
Enter::
Esc:: pressed := 1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-08T15:35:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93120#p93120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93118#p93118" />
			<content type="html"><![CDATA[<p><strong>mihail</strong>, теперь правильно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-08T15:10:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93118#p93118</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93117#p93117" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>numpad1::
 SendMessage, 0x50,, 0x4090409,, A
 setkeydelay, 0
 sleep, 55
 send, text
 KeyWait, Enter, D
 KeyWait, Esc, D
return</code></pre></div><p>В данном скрипте нужно нажать Enter и Esc, а мне нужно, чтобы при нажатии 1 из указанных клавиш.</p>]]></content>
			<author>
				<name><![CDATA[mihail]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32976</uri>
			</author>
			<updated>2015-04-08T15:05:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93117#p93117</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93116#p93116" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alectric пишет:</cite><blockquote><p>Не вижу где правила нарушены, по этому отвечаю.</p></blockquote></div><p><span style="color: green"><strong>Alectric</strong>, если сделано замечание модератором, ответы запрещены.</span> <strong>mihail</strong>, оформление кода в <a href="http://forum.script-coding.com/viewtopic.php?pid=93040#p93040">этом</a> посте неверное, читайте правила, код оформляется тегом code.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-08T14:51:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93116#p93116</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93114#p93114" />
			<content type="html"><![CDATA[<p>Никак не могу понять, что именно я оформил не так?</p>]]></content>
			<author>
				<name><![CDATA[mihail]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32976</uri>
			</author>
			<updated>2015-04-08T14:43:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93114#p93114</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93113#p93113" />
			<content type="html"><![CDATA[<p>Ссылка на правила выше.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-08T14:31:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93113#p93113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93112#p93112" />
			<content type="html"><![CDATA[<p>А я разве что-то не так оформил?</p>]]></content>
			<author>
				<name><![CDATA[mihail]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32976</uri>
			</author>
			<updated>2015-04-08T14:30:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93112#p93112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93111#p93111" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>mihail</strong>, пока не будут выполнены требования по оформлению, никто вам не подскажет.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-04-08T14:25:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93111#p93111</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ожидание нажатия 1 из 2 клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=93110#p93110" />
			<content type="html"><![CDATA[<p>Кто-нибудь может подсказать...?</p>]]></content>
			<author>
				<name><![CDATA[mihail]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32976</uri>
			</author>
			<updated>2015-04-08T14:20:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=93110#p93110</id>
		</entry>
</feed>
