<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14640&amp;type=atom" />
	<updated>2019-03-12T16:57:59Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14640</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Менять значение переменной нажатием клавиши.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=132899#p132899" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>*$1::
*$2::
var := A_ThisHotKey
return

*$RButton::
While GetKeyState(&quot;RButton&quot;, &quot;P&quot;)
{
	SendInput, % &quot;{vk51}{vk20}&quot; var
	sleep,195
}
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-03-12T16:57:59Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=132899#p132899</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Менять значение переменной нажатием клавиши.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=132898#p132898" />
			<content type="html"><![CDATA[<p>Вы ожидали от меня готового кода для вас? Извольте, вам в коммерческий раздел. На этом форуме пользователи обучаются, а не заказывают скрипты. Есть вопросы - задавайте, но прежде ознакомьтесь с правилами форума, чтобы не было разногласий в будущем.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2019-03-12T16:56:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=132898#p132898</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Менять значение переменной нажатием клавиши.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=132897#p132897" />
			<content type="html"><![CDATA[<p>Классно помог :c</p>]]></content>
			<author>
				<name><![CDATA[Murka]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39392</uri>
			</author>
			<updated>2019-03-12T14:41:39Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=132897#p132897</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Менять значение переменной нажатием клавиши.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=132896#p132896" />
			<content type="html"><![CDATA[<p>Переменная содержащая название вызвавшей текущую подпрограмму горячую клавишу называется A_ThisHotkey. О присвоении значения переменным читайте в справке.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2019-03-12T13:17:33Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=132896#p132896</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Менять значение переменной нажатием клавиши.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=132894#p132894" />
			<content type="html"><![CDATA[<p>Как менять значение переменной нажатием клавиши?<br />В переменной должна быть та клавиша которую я нажал.<br /></p><div class="codebox"><pre><code>
*$1:: ; Вот каким образом менять переменную, нажатием этой клавиши
return

*$2:: ; И этой
return

*$RButton::
While GetKeyState(&quot;RButton&quot;, &quot;P&quot;)
{
	SendInput,{vk51}{vk20}%Переменная%
	sleep,195
}
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Murka]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39392</uri>
			</author>
			<updated>2019-03-12T08:19:03Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=132894#p132894</id>
		</entry>
</feed>
