<?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=8815&amp;type=atom" />
	<updated>2013-10-26T21:29:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8815</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:скорость движения указателя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=76507#p76507" />
			<content type="html"><![CDATA[<p>Всем спасибо сам разобрался . Вот решение , может кому пригодится .</p><div class="codebox"><pre><code>~vk20 Down:: 
{
  DllCall(&quot;SystemParametersInfo&quot;, Int,112, UInt,0, UIntP,curSpeed) 
  speed := 15
  curSpeed := 15
  DllCall(&quot;SystemParametersInfo&quot;, Int,113, UInt,0, UInt,speed) 
}

return

~vk20 Up:: 
{
  DllCall(&quot;SystemParametersInfo&quot;, Int,112, UInt,0, UIntP,curSpeed) 
  speed := 6
  curSpeed := 6
  DllCall(&quot;SystemParametersInfo&quot;, Int,113, UInt,0, UInt,speed) 
}

return

~vk60::ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2013-10-26T21:29:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=76507#p76507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:скорость движения указателя]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=76457#p76457" />
			<content type="html"><![CDATA[<p>Доброго времени суток.Есть скрипт на изменение скорости движения указателя. Задаёт скорость указателя по&nbsp; клавише &quot;space&quot; (нажал 1 раз скорость &quot;6&quot; ; нажал 2 раз скорость &quot;15&quot;) . А как бы сделать чтобы при нажатии&nbsp; &quot;SpaceDown&quot; -скорость&quot;15&quot; ; при отпускании &quot;SpaceUp&quot; -скорость&quot;6&quot;.</p><div class="codebox"><pre><code>~vk20::MouseSwitch(6, 15)  ; Space

MouseSwitch(speed1, speed2) ; min 1, max 20 [1,2,4,6,8, 10, 12,14,16,18,20]
{
  DllCall(&quot;SystemParametersInfo&quot;, Int,112, UInt,0, UIntP,curSpeed, UInt,0) ; SPI_GETMOUSESPEED
  speed := curSpeed = speed1 ? speed2 : speed1
  DllCall(&quot;SystemParametersInfo&quot;, Int,113, UInt,0, UInt,speed, UInt,2) ; SPI_SETMOUSESPEED, SPIF_SENDCHANGE=2
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2013-10-25T23:29:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=76457#p76457</id>
		</entry>
</feed>
