<?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=15082&amp;type=atom" />
	<updated>2019-12-05T17:38:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15082</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Если нажал определенную клавишу то выполняется условие]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136766#p136766" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>F1::
IF GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
{
SoundBeep, 200, 500
Sleep, 300
SoundBeep, 500, 200
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-12-05T17:38:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136766#p136766</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:Если нажал определенную клавишу то выполняется условие]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136765#p136765" />
			<content type="html"><![CDATA[<p>Здравствуйте, уважаемые. Мне нужно прописать условие, которое будет работать не от значения какой-то переменной, а от нажатия клавиши. Что-то типо такого:<br />F1::<br />Если нажата LButton,то<br />Loop<br />{<br />Send, {LButton Down}<br />Sleep, 1150<br />Send, {LButton Up}<br />Sleep, 100<br />}<br />return<br />space::pause<br />f2::ExitApp</p>]]></content>
			<author>
				<name><![CDATA[JrGamer115]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40522</uri>
			</author>
			<updated>2019-12-05T16:53:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136765#p136765</id>
		</entry>
</feed>
