<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: RepeatPressBlind]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15545&amp;type=atom" />
	<updated>2020-07-25T15:22:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15545</id>
		<entry>
			<title type="html"><![CDATA[AHK: RepeatPressBlind]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=141035#p141035" />
			<content type="html"><![CDATA[<p>Как сделать функцию ссылки на функцию RepeatPressBlind при нажатии модификатора?<br /></p><div class="codebox"><pre><code>
RepeatPressBlind( key ){
loop {
if not GetKeyState( key, &quot;P&quot; ){
break
}
SendInput, {Blind}{%key%}
sleep 1
}
return
}

ModPress( RepeatPressBlind){ ;здесь долна быть ссылка на функцию нажатия клавиш
loop {
if not RepeatPressBlind{
break
}
SendInput, {Blind}{%key%, RepeatPressBlind}
sleep 1
}
return
}

*1::RepeatPressBlind( &quot;1&quot; )
*2::RepeatPressBlind( &quot;2&quot; )
*!::ModPress( &quot;!&quot; )
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[fgslm]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40966</uri>
			</author>
			<updated>2020-07-25T15:22:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=141035#p141035</id>
		</entry>
</feed>
