<?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=8912&amp;type=atom" />
	<updated>2013-11-15T19:11:03Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=8912</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:снижение чувствительности мыши]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77341#p77341" />
			<content type="html"><![CDATA[<p>Вместо </p><div class="codebox"><pre><code>RButton::</code></pre></div><p> должно быть </p><div class="codebox"><pre><code>~RButton::</code></pre></div><p>а вместо </p><div class="codebox"><pre><code>RButton up::</code></pre></div><p>, соответственно </p><div class="codebox"><pre><code>~RButton up::</code></pre></div>]]></content>
			<author>
				<name><![CDATA[pant-79]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=960</uri>
			</author>
			<updated>2013-11-15T19:11:03Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77341#p77341</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:снижение чувствительности мыши]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77340#p77340" />
			<content type="html"><![CDATA[<p>Спасибо большое, помогло:)<br />Чего я и остерегался.... Удержании ПКМ чувствительность снижается. Но однако сама кнока не работает как ПКМ.</p><div class="codebox"><pre><code>
RButton::
SPI_GETMOUSESPEED = 0x70
SPI_SETMOUSESPEED = 0x71
; Retrieve the current speed so that it can be restored later:
DllCall(&quot;SystemParametersInfo&quot;, UInt, SPI_GETMOUSESPEED, UInt, 0, UIntP, OrigMouseSpeed, UInt, 0)
; Now set the mouse to the slower speed specified in the next-to-last parameter (the range is 1-20, 10 is default):
DllCall(&quot;SystemParametersInfo&quot;, UInt, SPI_SETMOUSESPEED, UInt, 0, Ptr, 3, UInt, 0)
KeyWait RButton  ; This prevents keyboard auto-repeat from doing the DllCall repeatedly.
return

RButton up::DllCall(&quot;SystemParametersInfo&quot;, UInt, 0x71, UInt, 0, Ptr, OrigMouseSpeed, UInt, 0)  ; Restore the original speed.</code></pre></div><p>Что, куда добавить?</p>]]></content>
			<author>
				<name><![CDATA[alexmiles]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31158</uri>
			</author>
			<updated>2013-11-15T18:43:04Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77340#p77340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:снижение чувствительности мыши]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77337#p77337" />
			<content type="html"><![CDATA[<p>Здесь есть пример: <a href="http://l.autohotkey.net/docs/commands/DllCall.htm">http://l.autohotkey.net/docs/commands/DllCall.htm</a>.</p>]]></content>
			<author>
				<name><![CDATA[shiz]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=26249</uri>
			</author>
			<updated>2013-11-15T15:55:05Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77337#p77337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:снижение чувствительности мыши]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=77325#p77325" />
			<content type="html"><![CDATA[<p>Доброго дня всем. Нуждаюсь в помощи вот в таком вот скрипте для игр.<br />при нажатии на пкм, чувствительность мыши должна снижаться на какое-то значение до следующего нажатия.<br />если с пкм такое невозможно сделать, то на любую другую кнопку.<br />Заранее спасибо.</p>]]></content>
			<author>
				<name><![CDATA[alexmiles]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31158</uri>
			</author>
			<updated>2013-11-15T09:31:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=77325#p77325</id>
		</entry>
</feed>
