<?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=14401</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14401&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK:Зажатие двух кнопок одной».]]></description>
		<lastBuildDate>Sat, 15 Dec 2018 13:04:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130416#p130416</link>
			<description><![CDATA[<p>После if перед вызовом функции тоже скобки не нужны. Но дело вкуса, конечно.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 15 Dec 2018 13:04:53 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130416#p130416</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130411#p130411</link>
			<description><![CDATA[<p><strong>teadrinker</strong>, для меня while тот же if, по этому мне удобнее писать скобки.</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 15 Dec 2018 11:56:10 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130411#p130411</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130410#p130410</link>
			<description><![CDATA[<p><strong>Phoenixxx_Czar</strong>, скобки лишние, кавычки нехватает.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 15 Dec 2018 08:28:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130410#p130410</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130409#p130409</link>
			<description><![CDATA[<p><strong>Ms_Smail</strong>, можно было и while обойтись, меньше строк бы занял.<br /></p><div class="codebox"><pre><code>
wait1 := 100 ;Время зажатия LShift
wait2 := 30 ;Время зажатия LCtrl

~vk43::
while(GetKeyState(&quot;vk43&quot;, &quot;P&quot;))
{
	Send, {LShift Down}
	Sleep %wait1%
	Send, {LCtrl Down}
	Sleep %wait2%
	Send, {LCtrl Up}
}
Send, {LShift Up}
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Sat, 15 Dec 2018 08:10:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130409#p130409</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130408#p130408</link>
			<description><![CDATA[<p><strong>vlad.kosmicheskiy</strong>, настроить задержки можешь сам, как тебе нужно.<br /></p><div class="codebox"><pre><code>
Sleep := 100 ;Время зажатия LShift
Sleep2 := 30 ;Время зажатия LCtrl
~vk43::
Loop
{
GetKeyState, State, vk43, P
if State = u
{
Send, {LShift Up}
break
}
Send, {LShift Down}
Sleep %Sleep%
Send, {LCtrl Down}
Sleep %Sleep2%
Send, {LCtrl Up}
}
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ms_Smail)]]></author>
			<pubDate>Fri, 14 Dec 2018 22:21:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130408#p130408</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130401#p130401</link>
			<description><![CDATA[<p><strong>Ms_Smail</strong></p><p>Очень похоже на то, но нажатия LCtrl слишком короткое, какая строчка отвечает за это?</p>]]></description>
			<author><![CDATA[null@example.com (vlad.kosmicheskiy)]]></author>
			<pubDate>Fri, 14 Dec 2018 11:50:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130401#p130401</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130379#p130379</link>
			<description><![CDATA[<p>Это то что вы хотели?<br /></p><div class="codebox"><pre><code>
~vk43::
Sleep := 100
Loop
{
GetKeyState, State, vk43, P
if State = u
{
Send, {LShift Up}
break
}
Send, {LShift Down}
Sleep %Sleep%
Send, {LCtrl}
}
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ms_Smail)]]></author>
			<pubDate>Wed, 12 Dec 2018 15:19:53 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130379#p130379</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130371#p130371</link>
			<description><![CDATA[<p><span style="color: green">Да, так лучше.</span></p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Wed, 12 Dec 2018 07:59:29 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130371#p130371</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130370#p130370</link>
			<description><![CDATA[<p><strong>ypppu</strong><br />Вроде исправил, сообщите если всё сделал правильно.</p>]]></description>
			<author><![CDATA[null@example.com (vlad.kosmicheskiy)]]></author>
			<pubDate>Wed, 12 Dec 2018 05:43:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130370#p130370</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130367#p130367</link>
			<description><![CDATA[<p><span style="color: green"><strong>vlad.kosmicheskiy</strong>, название темы должно отражать суть вопроса. В конце предложений ставится точка. Исправьте.</span></p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Tue, 11 Dec 2018 16:10:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130367#p130367</guid>
		</item>
		<item>
			<title><![CDATA[AHK:Зажатие двух кнопок одной]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=130366#p130366</link>
			<description><![CDATA[<p>Здравствуйте, в ахк полный ноль, как сделать чтобы при зажатие буквы С кнопка LShift была зажата, а кнопка LCtrl как бы тыкалась постоянно через определенное кол-во миллисекунд, после того как я отпускаю кнопку C всё прекращается.</p><br /><br /><p>UPD: Сейчас пытаюсь что-то сделать, LCTRL она нажимается слишком слабо, как сделать чтобы она нажималась сильнее, а то получается слишком короткое нажатие.</p>]]></description>
			<author><![CDATA[null@example.com (vlad.kosmicheskiy)]]></author>
			<pubDate>Tue, 11 Dec 2018 13:45:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=130366#p130366</guid>
		</item>
	</channel>
</rss>
