<?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=12833&amp;type=atom" />
	<updated>2017-07-22T08:13:21Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12833</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикл комбинаций]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117457#p117457" />
			<content type="html"><![CDATA[<p><strong>belyankin12</strong><br />Большое спасибо, то что надо</p>]]></content>
			<author>
				<name><![CDATA[qtongo]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38641</uri>
			</author>
			<updated>2017-07-22T08:13:21Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117457#p117457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикл комбинаций]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117450#p117450" />
			<content type="html"><![CDATA[<p><strong>qtongo</strong>, </p><div class="codebox"><pre><code>$+q::
Sendinput {Shift} (или {Shift down}, если шифт зажать нужно)
Loop 
{
if not GetKeyState(&quot;q&quot;, &quot;P&quot;)
break
Send +q
sleep 50
}
Sendinput {Shift Up} (если шифт даун использовал)
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2017-07-22T06:09:28Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117450#p117450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикл комбинаций]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117445#p117445" />
			<content type="html"><![CDATA[<p><strong>Ядрён</strong><br />Но тогда цикл q без шифта не работает</p>]]></content>
			<author>
				<name><![CDATA[qtongo]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38641</uri>
			</author>
			<updated>2017-07-21T23:00:23Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117445#p117445</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикл комбинаций]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117443#p117443" />
			<content type="html"><![CDATA[<p>Доброго времени суток. Попробуйте так.<br /></p><div class="codebox"><pre><code>~*$vk51:: ;Q
  while GetKeyState(&quot;vkA0&quot;,&quot;P&quot;) 
{
DllCall(&quot;keybd_event&quot;, UInt, 0xA0, Int, 0, Int, 0x0001, UInt, 0, Int, 0)  ; нажать клавишу shift

DllCall(&quot;keybd_event&quot;, UInt, 0xA0, Int, 0, Int, 0x0002, UInt, 0, Int, 0) ;  отпустить клавишу shift

DllCall(&quot;keybd_event&quot;, UInt, 0x51, Int, 0, Int, 0x0001, UInt, 0, Int, 0) ; нажать клавишу Q

DllCall(&quot;keybd_event&quot;, UInt, 0x51, Int, 0, Int, 0x0002, UInt, 0, Int, 0)  ; отпустить клавишу Q

DllCall(&quot;Sleep&quot;, UInt, 50) ;
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2017-07-21T21:17:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117443#p117443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикл комбинаций]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117442#p117442" />
			<content type="html"><![CDATA[<p><strong>belyankin12</strong><br />Можешь написать, как это должно выглядеть? У меня не получилось</p>]]></content>
			<author>
				<name><![CDATA[qtongo]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38641</uri>
			</author>
			<updated>2017-07-21T20:45:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117442#p117442</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цикл комбинаций]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117429#p117429" />
			<content type="html"><![CDATA[<p>Зажми шифт до активации цикла, а в цикле пусть просто ку нажимается.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2017-07-21T11:12:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117429#p117429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Цикл комбинаций]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117426#p117426" />
			<content type="html"><![CDATA[<p>Хочу зациклить все клавиши и комбинации клавиш с шифтом, проблема конкретно с комбинациями, т.к. если прописать цикл, например, для shift+q в таком виде: <br /></p><div class="codebox"><pre><code>{
$+q::
Loop 
{
if not GetKeyState(&quot;q&quot;, &quot;P&quot;)
break
Send +q
sleep 50
}
return
}</code></pre></div><p>То при зажатии этой комбинации скрипт выдает <strong>shift+q shift+q shift+q shift+q</strong>, а нужно, чтобы выдавал <strong>shift+qqqqqqqqq</strong></p>]]></content>
			<author>
				<name><![CDATA[qtongo]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38641</uri>
			</author>
			<updated>2017-07-21T08:43:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117426#p117426</id>
		</entry>
</feed>
