<?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=9771&amp;type=atom" />
	<updated>2014-07-04T17:45:44Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9771</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Срабатывание скрипта, если активно одно окно, либо другое]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84530#p84530" />
			<content type="html"><![CDATA[<p>Дело в том, что и в документации написано так: </p><div class="codebox"><pre><code>WinActive(&quot;ahk_class&quot; . OWL.DocumentWindow)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[raznoczvetov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32329</uri>
			</author>
			<updated>2014-07-04T17:45:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84530#p84530</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Срабатывание скрипта, если активно одно окно, либо другое]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84527#p84527" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>WinActive(&quot;ahk_class&quot; . OWL.DocumentWindow)</p></blockquote></div><p>Хм, Я подумал что <strong>OWL</strong> тут, это массив.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-07-04T17:36:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84527#p84527</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Срабатывание скрипта, если активно одно окно, либо другое]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84525#p84525" />
			<content type="html"><![CDATA[<p>Спасибо за подсказки. Корректно срабатывает так:<br /></p><div class="codebox"><pre><code>
#If WinActive(&quot;ahk_class Notepad&quot;) or WinActive(&quot;ahk_class OWL.DocumentWindow&quot;)
{
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[raznoczvetov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32329</uri>
			</author>
			<updated>2014-07-04T17:30:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84525#p84525</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Срабатывание скрипта, если активно одно окно, либо другое]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84524#p84524" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br />IfWinActive здесь вообще не при делах.</p><div class="codebox"><pre><code>#If WinActive(&quot;ahk_class Notepad&quot;) || WinActive(&quot;ahk_class&quot; . OWL.DocumentWindow)
{
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-07-04T17:21:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84524#p84524</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Срабатывание скрипта, если активно одно окно, либо другое]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84522#p84522" />
			<content type="html"><![CDATA[<p>Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[raznoczvetov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32329</uri>
			</author>
			<updated>2014-07-04T17:20:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84522#p84522</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Срабатывание скрипта, если активно одно окно, либо другое]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84519#p84519" />
			<content type="html"><![CDATA[<p>В документации посмотрите разницу между условием <em>IfWinActive</em> и директивой <em>#IfWinActive</em>.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-07-04T17:03:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84519#p84519</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Срабатывание скрипта, если активно одно окно, либо другое]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=84517#p84517" />
			<content type="html"><![CDATA[<p>Как правильно написать конструкцию, чтобы скрипт выполнялся при активности одного окна, либо другого.<br />То что пробовал, но не работает:<br /></p><div class="codebox"><pre><code>
#IfWinActive (&quot;ahk_class Notepad&quot;) or WinActive(&quot;ahk_class OWL.DocumentWindow&quot;)
{
}
</code></pre></div><div class="codebox"><pre><code>
#IfWinActive (&quot;ahk_class Notepad&quot;) or WinActive(&quot;ahk_class&quot; . OWL.DocumentWindow)
{
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[raznoczvetov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32329</uri>
			</author>
			<updated>2014-07-04T16:00:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=84517#p84517</id>
		</entry>
</feed>
