<?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=14987&amp;type=atom" />
	<updated>2019-09-28T10:44:33Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14987</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск и остановка скрипта на одну и ту же клавишу.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136197#p136197" />
			<content type="html"><![CDATA[<p><strong>Phoenixxx_Czar</strong>, ваш скрипт не идентичен вышеприведенному.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2019-09-28T10:44:33Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136197#p136197</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск и остановка скрипта на одну и ту же клавишу.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136192#p136192" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>MButton::
SetTimer, SendE, % ((MButton := !MButton) ? 350 : &quot;off&quot;)
Return

SendE:
send, {e}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2019-09-27T16:12:54Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136192#p136192</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск и остановка скрипта на одну и ту же клавишу.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136187#p136187" />
			<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>2019-09-25T20:09:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136187#p136187</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск и остановка скрипта на одну и ту же клавишу.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136185#p136185" />
			<content type="html"><![CDATA[<p>Действительно. Попробовал запустить поиск по вашей рекомендации и нашел решение. Получилось вот так, работает, как хотел:<br /></p><div class="codebox"><pre><code>MButton::
	MButton := !MButton
	SetTimer, Loop, -1
	Return

Loop:
	While MButton
	{
		send, {e}
		sleep, 350
	}
	Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[t.evgasov2000]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40403</uri>
			</author>
			<updated>2019-09-25T15:27:05Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136185#p136185</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск и остановка скрипта на одну и ту же клавишу.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136182#p136182" />
			<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>2019-09-25T07:12:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136182#p136182</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Запуск и остановка скрипта на одну и ту же клавишу.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=136173#p136173" />
			<content type="html"><![CDATA[<p>Здравствуйте, как сделать так, чтобы при нажати на среднюю кнопку мыши у меня начала спамить какая-либо буква с определенным интервалом, а при повторном нажатии (на эту же кнопку мыши) - перестала? Познакомился с AHK буквально час назад. Возникла необходимость в игре.&nbsp; Пока у меня получилось написать только это:<br /></p><div class="codebox"><pre><code>Home::
MButton::
Loop
{
	Send, {e}
	sleep, 350
}
Return

End::
 Pause
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[t.evgasov2000]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40403</uri>
			</author>
			<updated>2019-09-24T15:14:48Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=136173#p136173</id>
		</entry>
</feed>
