<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Эмулирование колесика мыши]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11014</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11014&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Эмулирование колесика мыши».]]></description>
		<lastBuildDate>Tue, 13 Oct 2015 11:02:46 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Эмулирование колесика мыши]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97988#p97988</link>
			<description><![CDATA[<p>Если так то будет только 1 раз нажата ср. кнопка.<br /></p><div class="codebox"><pre><code>~RButton::
~LButton::
if GetKeyState(&quot;RButton&quot;,&quot;p&quot;) and GetKeyState(&quot;LButton&quot;,&quot;p&quot;)
Send {MButton}
KeyWait RButton
KeyWait LButton
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (yalanne)]]></author>
			<pubDate>Tue, 13 Oct 2015 11:02:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97988#p97988</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Эмулирование колесика мыши]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97987#p97987</link>
			<description><![CDATA[<p>Спасибо, работает! Но.. почему оно работает? Ведь Send зажимает клавишу и тут же ее опускает. &quot;Send 2&quot; нажимает 2 и тут же отпускает.<br />Send {MButton} тоже должен нажать и отпустить, почему тогда когда я удерживаю ЛКМ-ПКМ удерживается колесико?<br />Я нигде не вижу команды MButton down.</p>]]></description>
			<author><![CDATA[null@example.com (netwizard)]]></author>
			<pubDate>Tue, 13 Oct 2015 10:01:31 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97987#p97987</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Эмулирование колесика мыши]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97986#p97986</link>
			<description><![CDATA[<div class="codebox"><pre><code>~RButton::
~LButton::
if GetKeyState(&quot;RButton&quot;,&quot;p&quot;) and GetKeyState(&quot;LButton&quot;,&quot;p&quot;)
Send {MButton}
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (yalanne)]]></author>
			<pubDate>Tue, 13 Oct 2015 08:45:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97986#p97986</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Эмулирование колесика мыши]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=97984#p97984</link>
			<description><![CDATA[<p>Здравствуйте! Мышь реагирует на прокручивание колеса мыши, но не реагирует на его нажатие.<br />Написал такой скрипт, эмулирует нажатие колесика при одновременном нажатии ЛКМ и ПКМ.<br /></p><div class="codebox"><pre><code>
RButton::
If GetKeyState(&quot;LButton&quot;,&quot;P&quot;)
Send {MButton}
else Send {RButton down}
Return

RButton Up::Send {RButton up}

LButton::
If GetKeyState(&quot;RButton&quot;,&quot;P&quot;)
Send {MButton}
else Send {LButton down}
Return

LButton Up::Send {LButton up}</code></pre></div><p>Главную свою задачу скрипт выполняет - теперь можно быстро открывать гиперссылки в новых закладках.<br />Однако я не могу прокручивать страницы, как я делал это удерживанием колеса мыши.<br />В принципе это можно осуществить вышеописанными средствами, но что-то мне подсказывает, что есть способ легче.<br />1) Есть ли такой способ?<br />2) Работа горячих клавиш нарушает работу клавиш, к которым они привязаны. Есть ли какой-то простой способ, чтобы, например, при нажатии на клавишу 1 выполнялось некое действие и плюс печаталась цифра 1? Не так, чтобы в коде эмулировать нажатие 1, а чтобы нажатие клавиши 1 не глушилось скриптом?</p>]]></description>
			<author><![CDATA[null@example.com (netwizard)]]></author>
			<pubDate>Tue, 13 Oct 2015 07:15:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=97984#p97984</guid>
		</item>
	</channel>
</rss>
