<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Модификаторы клавиш]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=11600</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=11600&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Модификаторы клавиш».]]></description>
		<lastBuildDate>Thu, 19 May 2016 06:59:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Модификаторы клавиш]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103948#p103948</link>
			<description><![CDATA[<p><a href="http://www.script-coding.com/AutoHotkey/Hotkeys.html">&#039;&#039;~&#039;&#039; -&nbsp; Означает, что скрипт не блокирует нажатие клавиши.</a><br /></p><div class="codebox"><pre><code>~LButton::
~^LButton::
While GetKeyState(&quot;LButton&quot;, &quot;P&quot;) {
   moveAmount := (moveAmount = 2) ? 3 : 0
   If GetKeyState(&quot;LCtrl&quot;, &quot;P&quot;)
   mouseXY(moveAmount,6)
   Else 
   mouseXY(moveAmount,4)
   Sleep 5
}
Return

mouseXY(x,y) {
DllCall(&quot;mouse_event&quot;,int,1,int,x,int,y,uint,0,uint,0)
}</code></pre></div><p>Не понимаю для чего в скрипте строка:<br /></p><div class="codebox"><pre><code>moveAmount := (moveAmount = 2) ? 3 : 0</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Nikva)]]></author>
			<pubDate>Thu, 19 May 2016 06:59:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103948#p103948</guid>
		</item>
		<item>
			<title><![CDATA[Re: Модификаторы клавиш]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103926#p103926</link>
			<description><![CDATA[<p><span style="color: green"><strong>MrResolute</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=9590">этой</a> темой, отредактируйте свой пост.</span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 18 May 2016 13:56:25 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103926#p103926</guid>
		</item>
		<item>
			<title><![CDATA[Модификаторы клавиш]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=103925#p103925</link>
			<description><![CDATA[<p>Есть скрипт:<br /></p><div class="codebox"><pre><code>~LButton::
Loop
	If GetKeyState(&quot;LButton&quot;, &quot;LCtrl&quot;) {
		Sleep, 5
		moveAmount := (moveAmount = 2) ? 3 : 0
 		mouseXY(moveAmount,4)
		
	}
	else
	break
	
Return



mouseXY(x,y)
{
DllCall(&quot;mouse_event&quot;,int,1,int,x,int,y,uint,0,uint,0)
}</code></pre></div><p>Что означают знаки &#039;&#039;~&#039;&#039; перед клавишами действий? Мне надо узнать, как переписать скрипт, чтобы курсор опускался вниз при нажатии lbutton со скоростью 4, а при нажатии ctrl+lbutton - со скоростью 6?</p><p>По скрипту я вижу, что он должен работать только при зажатой ctrl и lbutton, но он работает и без ctrl.</p>]]></description>
			<author><![CDATA[null@example.com (MrResolute)]]></author>
			<pubDate>Wed, 18 May 2016 13:54:41 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=103925#p103925</guid>
		</item>
	</channel>
</rss>
