<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Нажатие одной клавиши после включение другого AHK]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13083&amp;type=atom" />
	<updated>2017-10-14T20:20:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13083</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие одной клавиши после включение другого AHK]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120027#p120027" />
			<content type="html"><![CDATA[<p>Принимайте<br /></p><div class="codebox"><pre><code>global bTurn := 0
GoSub, Script
return

NumPad7::
bTurn := !bTurn
return

Script:
Loop {
	if(bTurn) {
		SendInput,{3}
		Sleep, 200
		SendInput,{1}
		Sleep, 50
	}
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2017-10-14T20:20:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120027#p120027</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие одной клавиши после включение другого AHK]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120026#p120026" />
			<content type="html"><![CDATA[<p><strong>KotikMurzik</strong>, оформите код тегом и проставьте знаки препинания.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2017-10-14T10:41:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120026#p120026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Нажатие одной клавиши после включение другого AHK]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=120025#p120025" />
			<content type="html"><![CDATA[<p>Смотрите я хочу сделать чтобы когда я нажимал на NumPad7&nbsp; активировался другой скрипт то есть после нажатия клавиши Num7 активировался этот скрипт: Q::<br />{<br />SendInput,{3}<br />Sleep, 50<br />SendInput,{1}<br />Sleep, 50<br />}<br />Return<br />А после нажатие num7 опять&nbsp; он&nbsp; выключался или на другую если так нельзя допустим num8&nbsp; выключался&nbsp; num7 включался, как сделать? Помогите <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[KotikMurzik]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38816</uri>
			</author>
			<updated>2017-10-14T10:32:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=120025#p120025</id>
		</entry>
</feed>
