<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: как работает toggle]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=17402&amp;type=atom" />
	<updated>2022-10-07T08:04:29Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=17402</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155091#p155091" />
			<content type="html"><![CDATA[<p>Нет, всё равно непонятно. Для чьего продолжения, что за кнопка старт скрипта?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-10-07T08:04:29Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155091#p155091</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155090#p155090" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>Нет,я уже спал на ходу, дико извиняюсь. Вроде изменил, надеюсь нормально....</p>]]></content>
			<author>
				<name><![CDATA[breadlblack00]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42804</uri>
			</author>
			<updated>2022-10-07T07:26:20Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155090#p155090</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155084#p155084" />
			<content type="html"><![CDATA[<p>Перечитайте своё предложение. Сами-то поняли, что написали? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-10-07T00:56:45Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155084#p155084</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155083#p155083" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>А для ее продолжения нужно просто&nbsp; нажать кнопку старт скрипта?</p>]]></content>
			<author>
				<name><![CDATA[breadlblack00]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42804</uri>
			</author>
			<updated>2022-10-06T22:46:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155083#p155083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155071#p155071" />
			<content type="html"><![CDATA[<p>Если нужна пауза, toggle не нужен.<br /></p><div class="codebox"><pre><code>End:: Pause</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-10-06T11:58:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155071#p155071</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155070#p155070" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Я пытался сделать паузу программы по кнопке, ну или просто&nbsp; ее прерывание , но не закрытие скрипта, алтернативу<br /></p><div class="codebox"><pre><code>
End:: ; клавиша экстренного закрытия программы
  ExitApp
Return
</code></pre></div><p>.</p>]]></content>
			<author>
				<name><![CDATA[breadlblack00]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42804</uri>
			</author>
			<updated>2022-10-06T11:14:52Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155070#p155070</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155069#p155069" />
			<content type="html"><![CDATA[<p>Не очень понятно, чего вы хотите добиться. В любом случае, директивы #If влияют только на горячие клавиши, определённые ниже. У вас их нет.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-10-06T10:13:59Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155069#p155069</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: как работает toggle]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=155068#p155068" />
			<content type="html"><![CDATA[<p>Подсмотрел в другом макросе реализацию процесса включения и отключения макроса по клавише, но не понял как он работает, если кто может объяснить или показать рабочий вариант буду благодарен.<br /></p><div class="codebox"><pre><code>
toggle := true
return

numpad2:: toggle := !toggle  
#If toggle  

x:=1300
loop, 12
{
y:=610

loop, 5	
{
	Send ^{Click %x% %y% left} ; клик мыши с зажатым ctrl
	sleep 30
	y += 50
	
}
x += 53
}

Return
End::
  ExitApp
Return

</code></pre></div>]]></content>
			<author>
				<name><![CDATA[breadlblack00]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42804</uri>
			</author>
			<updated>2022-10-06T06:18:25Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=155068#p155068</id>
		</entry>
</feed>
