<?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=15894&amp;type=atom" />
	<updated>2020-12-07T16:50:19Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15894</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Капслок как модификатор для мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143997#p143997" />
			<content type="html"><![CDATA[<p>У меня индикатор CapsLock выключается по сочетанию Ctrl+CapsLock. Тоже его давно перехватил и после нажатия включается и не вырубается при повторном нажатии.</p><p><strong>Nrback</strong><br />Зачем тройным сочетанием? Так пальцы можно поломать.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2020-12-07T16:50:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143997#p143997</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Капслок как модификатор для мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143995#p143995" />
			<content type="html"><![CDATA[<p><strong>YMP</strong><br />Можно включить любым тройным сочетанием, например ctrl+shift+capslock. Тот случай, когда это &quot;фича&quot; а не &quot;баг&quot; <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />). В любом случае спасибо, что развернули мысль в правильную сторону.</p>]]></content>
			<author>
				<name><![CDATA[Nrback]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41278</uri>
			</author>
			<updated>2020-12-07T16:39:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143995#p143995</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Капслок как модификатор для мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143977#p143977" />
			<content type="html"><![CDATA[<p><strong>Nrback</strong>, у меня ваш вариант ведёт себя так же, как мой, только теперь Capslock сам по себе уже не работает. А при сочетании с мышью он всё равно горит, пока не отпустишь.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2020-12-07T11:44:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143977#p143977</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Капслок как модификатор для мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143976#p143976" />
			<content type="html"><![CDATA[<p>Вроде получилось. Проблема решилась при удалении знака ~ перед CapsLock</p><div class="codebox"><pre><code>Capslock &amp; RButton::Delete
Capslock &amp; MButton::Enter
CapsLock Up::SetCapsLockState, Off</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Nrback]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41278</uri>
			</author>
			<updated>2020-12-07T10:15:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143976#p143976</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Капслок как модификатор для мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143974#p143974" />
			<content type="html"><![CDATA[<p><strong>YMP</strong><br />Работает, но при таком условии постоянно включается капслок, что не есть удобно. Пробовал </p><div class="codebox"><pre><code>~CapsLock Up::SetCapsLockState, Off </code></pre></div><p> но тогда при комбинации с мышкой(capslock+Rbutton\Mbutton) - он рандомно включается</p>]]></content>
			<author>
				<name><![CDATA[Nrback]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41278</uri>
			</author>
			<updated>2020-12-07T08:20:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143974#p143974</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Капслок как модификатор для мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143965#p143965" />
			<content type="html"><![CDATA[<p>А так не работает?<br /></p><div class="codebox"><pre><code>
Capslock &amp; RButton::Delete
Capslock &amp; MButton::Enter             
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2020-12-07T06:36:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143965#p143965</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Капслок как модификатор для мыши]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143963#p143963" />
			<content type="html"><![CDATA[<p>Всем доброго времени суток. Пытаюсь использовать капслок как модификатор для RButton и MButton, что бы прикрутить к ним Delete и Enter. С трудом набросал вариант кода, но после разового нажатия капслока - RButton и MButton постоянно используются как Delete и Enter. Прошу помочь <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><div class="codebox"><pre><code>CapsLock::
While, GetKeyState(A_ThisHotkey,&quot;P&quot;)
{
RButton::Delete
MButton::Enter
}

UpDown()
Return
UpDown(Key2 := &quot;vkE8&quot;)
{
	static Key1 := &quot;vkE8&quot;
	IF (Key2 &lt;&gt; Key1)
	{
		Send, {%Key1% up}{%Key2% down}
		Key1 := Key2
	}
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Nrback]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41278</uri>
			</author>
			<updated>2020-12-07T02:13:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143963#p143963</id>
		</entry>
</feed>
