<?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=14574&amp;type=atom" />
	<updated>2019-02-15T16:38:30Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14574</id>
		<entry>
			<title type="html"><![CDATA[Re: несколько действий на одну кнопку]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=132186#p132186" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>i := 0

!1::
Send, {DOWN}

if (++i &gt; 3)
	i := 1

if (i == 1)
	Send, {left 2}{up 3}
else if (i == 2)
	Send, {Right 2}{left 3}
else if (i == 3)
	Send, {left 2}{Right 3}
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-02-15T16:38:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=132186#p132186</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[несколько действий на одну кнопку]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=132185#p132185" />
			<content type="html"><![CDATA[<p>Здравствуйте, можно ли три действия назначить на одну кнопку, чтобы по кругу их перелистывать? сейчас они назначены на три разные кнопки , что не очень удобно. </p><div class="codebox"><pre><code>Up::

setkeydelay, 30, 30
send, {Down}
send, {Left}
send, {Left}
send, {Up}
send, {Up}
send, {Up}

exit

Left::

setkeydelay, 30, 30
send, {Down}
send, {Right}
send, {Right}
send, {Left}
send, {Left}
send, {Left}

exit

Right::

setkeydelay, 30, 30
send, {Down}
send, {Left}
send, {Left}
send, {Right}
send, {Right}
send, {Right}

exit</code></pre></div>]]></content>
			<author>
				<name><![CDATA[che6ypad3e]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39951</uri>
			</author>
			<updated>2019-02-15T12:13:05Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=132185#p132185</id>
		</entry>
</feed>
