<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; поочерёдное нажатие клавиш]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13180&amp;type=atom" />
	<updated>2017-11-09T20:43:08Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=13180</id>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=121002#p121002" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>~W::Send % (i:=!i) ? Format(&quot;{vk{:x}}&quot;, GetKeyVK(&quot;F&quot;)) : Format(&quot;{vk{:x}}&quot;, GetKeyVK(&quot;D&quot;))
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-11-09T20:43:08Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=121002#p121002</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=121000#p121000" />
			<content type="html"><![CDATA[<p>Странная конструкция:<br /></p><div class="codebox"><pre><code>loop
{
   i++
   if i = 2
      i = !i
   msgbox % i
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-11-09T20:33:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=121000#p121000</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120993#p120993" />
			<content type="html"><![CDATA[<p>Так можно без сбрасывания счетчика.<br /></p><div class="codebox"><pre><code>$vk57::
i++
if i = 2
{
Send wf
i = !i
}
else
{
Send wd
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-11-09T18:43:58Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120993#p120993</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120985#p120985" />
			<content type="html"><![CDATA[<p><strong>svoboden</strong> понятно,спасибо!</p>]]></content>
			<author>
				<name><![CDATA[ustrashanovyura1990]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34358</uri>
			</author>
			<updated>2017-11-09T14:32:52Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120985#p120985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120984#p120984" />
			<content type="html"><![CDATA[<p><strong>ustrashanovyura1990</strong>, i++ - это счетчик, т.е. добавляет +1 к каждому нажатию. При первом нажатии переменная i будет 1, при втором нажатии 2. А строка i := &quot;&quot; сбрасывает переменную i, иначе переменная равнялась бы 3,4,5..., и так до бесконечности.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-11-09T14:26:00Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120984#p120984</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120982#p120982" />
			<content type="html"><![CDATA[<p><strong>svoboden</strong> огромное спасибо! буду благодарен за пояснение вот этих строк:&nbsp; &quot;i++&quot; и &quot;i := &quot;&quot;&quot;</p>]]></content>
			<author>
				<name><![CDATA[ustrashanovyura1990]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34358</uri>
			</author>
			<updated>2017-11-09T13:26:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120982#p120982</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120981#p120981" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>$vk57::
i++
if i = 1
{
Send wd
}
if i = 2
{
Send wf
i := &quot;&quot;
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-11-09T12:59:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120981#p120981</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120978#p120978" />
			<content type="html"><![CDATA[<p>максимум что могу это вот:<br />$vk57::<br />SendInput, {vk57}{vk44}<br />&nbsp; &nbsp;return<strong>stealzy</strong></p>]]></content>
			<author>
				<name><![CDATA[ustrashanovyura1990]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34358</uri>
			</author>
			<updated>2017-11-09T11:22:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120978#p120978</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120977#p120977" />
			<content type="html"><![CDATA[<p>так нету его у меня</p>]]></content>
			<author>
				<name><![CDATA[ustrashanovyura1990]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34358</uri>
			</author>
			<updated>2017-11-09T11:17:12Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120977#p120977</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[поочерёдное нажатие клавиш]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=120973#p120973" />
			<content type="html"><![CDATA[<p>приветствую, подскажите пожалуйста код. нужно что бы при нажатии w нажималась сама &quot;w&quot; и &quot;d&quot; , а при повторном нажатии на &quot;w&quot; уже &quot;w&quot; и &quot;f&quot;. при следующем нажатии снова &quot;w&quot; и &quot;d&quot; ,след нажатие снова &quot;w&quot; и &quot;f&quot;. в общем нужно что бы &quot;d&quot; и &quot;f&quot; чередовались.</p>]]></content>
			<author>
				<name><![CDATA[ustrashanovyura1990]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34358</uri>
			</author>
			<updated>2017-11-09T08:22:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=120973#p120973</id>
		</entry>
</feed>
