<?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=15872&amp;type=atom" />
	<updated>2020-12-01T20:44:35Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15872</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143804#p143804" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vsevolod пишет:</cite><blockquote><p><strong>teadrinker</strong><br />А можно сделать так что бы оно на f1 было не активно, а на f3 активно?</p></blockquote></div><p>Всё сам разобрался.</p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-01T20:44:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143804#p143804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143803#p143803" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />А можно сделать так что бы оно на f1 было не активно, а на f3 активно?</p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-01T20:42:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143803#p143803</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143802#p143802" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br /><strong>Спасибо вам огромное.</strong></p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-01T20:36:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143802#p143802</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143801#p143801" />
			<content type="html"><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>F2::
SetTimer, Flash, -1000
return

Flash:
if toggle
   Return
msgbox, Переменная активна
return

F1:: toggle := !toggle</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-12-01T20:10:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143801#p143801</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143800#p143800" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br />Окей, но как сделать так что бы она не срабатывала? Можно сделать проверку в<span class="bbu"> переменной:</span> FlashActive на единичку, а биндом f2 уже устанавливать либо 1, либо 0, но я не знаю как сделать проверку, да и собственно так что бы при первом нажатии на f2 было 1 и при повторном 0, и так далее 1, 0, 1, 0. Я вообще с if не дружу, и всеми этими проверками значений в переменных...</p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-01T20:06:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143800#p143800</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143799#p143799" />
			<content type="html"><![CDATA[<p><strong>Foma</strong><br />Это останавливает таймер и всё.</p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-01T20:01:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143799#p143799</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143798#p143798" />
			<content type="html"><![CDATA[<p>В Вашем коде <strong>Flash:</strong> – это не переменная, а <span class="bbu">подпрограмма</span>.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2020-12-01T19:09:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143798#p143798</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143792#p143792" />
			<content type="html"><![CDATA[<p>В SetTimer можно менять его работу. Есть три варианта Period|On|Off.<br /> Время, как у вас, &quot;вкл&quot; и &quot;выкл&quot;.<br />Вам нужен последний для остановки.</p>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2020-12-01T18:18:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143792#p143792</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143790#p143790" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br />Ну вот например:<br /></p><div class="codebox"><pre><code>F2::
SetTimer, Flash, -1000
return

Flash:
msgbox, Переменная активна
return

F1::
return
</code></pre></div><p>Мне нужно сделать так что бы на f1 отключалась переменная Flash и при её вызове ничего не происходило, а при повторном нажатии на f1 она врубалась обратно.</p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-01T17:17:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143790#p143790</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143776#p143776" />
			<content type="html"><![CDATA[<p>А речь точно о переменной, а не о какой-нибудь функции или метке перехода?</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2020-12-01T13:54:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143776#p143776</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Возможно ли отключить переменную?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143775#p143775" />
			<content type="html"><![CDATA[<p>Всем привет. Мне нужно сделать так что бы на f1 отключалась переменная Flash и при её вызове ничего не происходило, а при повторном нажатии на f1 она врубалась обратно.<br />Если так можно сделать, дайте код пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-01T13:52:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143775#p143775</id>
		</entry>
</feed>
