<?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=8187&amp;type=atom" />
	<updated>2013-03-27T17:27:51Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8187</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как сделать отключение серии команд]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=70858#p70858" />
			<content type="html"><![CDATA[<p>Слишком сложный вопрос <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />If else уместно использовать если условное действие содержит команду или более одной строки кода.<br />Если суть выражения сводится к выбору одного из двух «объектов», то тернарный оператор подходит идеально.<br />Не вижу сложности в чтении выражения не использующего вложенные тернарные операторы.<br />Мне так удобнее. Мне лень тянутся мизинцем к Enter.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-03-27T17:27:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=70858#p70858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как сделать отключение серии команд]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=70850#p70850" />
			<content type="html"><![CDATA[<p>creature.ws, а почему вы постоянно используете тернарные операторы, заместо &quot;if else&quot;?<br />Читать же сложнее.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2013-03-27T15:10:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=70850#p70850</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как сделать отключение серии команд]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=70847#p70847" />
			<content type="html"><![CDATA[<p>Точно, спасибо. Перемудрил, исправил.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-03-27T13:56:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=70847#p70847</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как сделать отключение серии команд]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=70846#p70846" />
			<content type="html"><![CDATA[<p><strong>creature.ws</strong><br /></p><div class="codebox"><pre><code>...
... [&quot;один&quot;,&quot;два&quot;,&quot;три&quot;][A_index] ...
...</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-03-27T13:53:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=70846#p70846</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как сделать отключение серии команд]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=70845#p70845" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>F12::
    loop 3 {
        SendInput, % &quot;{f6}&quot; . (toggleInputString? &quot;&quot; : [&quot;один&quot;,&quot;два&quot;,&quot;три&quot;][A_index]) . &quot;{enter}&quot;
        Sleep, 1000
    }
    return

F11::toggleInputString := !toggleInputString</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-03-27T13:11:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=70845#p70845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как сделать отключение серии команд]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=70838#p70838" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=7906">http://forum.script-coding.com/viewtopic.php?id=7906</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2013-03-27T09:19:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=70838#p70838</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как сделать отключение серии команд]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=70837#p70837" />
			<content type="html"><![CDATA[<p>Вот мой скрипт:<br /></p><div class="codebox"><pre><code>F12::
SendInput, {f6}один{enter}
Sleep, 1000
SendInput, {f6}два{enter}
Sleep, 1000
SendInput, {f6}три{enter}
Sleep, 1000
Return</code></pre></div><p>Что нужно добавить, что бы можно было отменить ввод слов &quot;один&quot; &quot;два&quot; &quot;три&quot; на клавишу F11?</p>]]></content>
			<author>
				<name><![CDATA[dramka]]></name>
			</author>
			<updated>2013-03-27T08:18:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=70837#p70837</id>
		</entry>
</feed>
