<?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=9262&amp;type=atom" />
	<updated>2014-02-16T19:29:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9262</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80114#p80114" />
			<content type="html"><![CDATA[<p>Большое спасибо и извините за путаницу.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-16T19:29:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80114#p80114</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80113#p80113" />
			<content type="html"><![CDATA[<p>Всё решил , с помощью программы &quot;AU3_Spy.exe&quot; определил &quot;ahk_class&quot; окна, получилось следующее.<br /></p><div class="codebox"><pre><code>LOOP
{
WinWait, ahk_class AkelPad4
Run, calc.exe
WinWaitClose, ahk_class AkelPad4
WinClose, Калькулятор
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-16T19:28:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80113#p80113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80103#p80103" />
			<content type="html"><![CDATA[<p>Я так понимаю , что у меня по какой то причине не срабатывает команда &quot;WinWaitClose&quot; , может стоит воспользоваться командами &quot;Goto&quot; или &quot;Gosub&quot;. Подскажите как это реализовать .Я всю ночь сидел пытался, у меня сил просто уже нет. Помогите пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-16T17:55:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80103#p80103</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80101#p80101" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>YMP пишет:</cite><blockquote><p>Вот рабочий у меня способ:<br /></p><div class="codebox"><pre><code>
LOOP
{
WinWait, AkelPad
Run, calc.exe
WinWaitClose, AkelPad
WinClose, Калькулятор
}
</code></pre></div></blockquote></div><p>Оба приложения открываются по открытию блокнота , но не закрываются по закрытию блокнота.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-16T17:29:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80101#p80101</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80098#p80098" />
			<content type="html"><![CDATA[<p>Вот рабочий у меня способ:<br /></p><div class="codebox"><pre><code>
LOOP
{
WinWait, AkelPad
Run, calc.exe
WinWaitClose, AkelPad
WinClose, Калькулятор
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-02-16T15:01:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80098#p80098</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80097#p80097" />
			<content type="html"><![CDATA[<p>Да да &quot;Calc.exe&quot; ,но всё равно не работает.Я перепробовал множество вариантов , ничего не помогает. Строчки кода я переставлял как только можно, и ничего. Может есть ещё какой способ.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-16T14:32:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80097#p80097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80093#p80093" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Ядрён пишет:</cite><blockquote><div class="codebox"><pre><code>
runWait, Калькулятор
</code></pre></div></blockquote></div><p>А здесь разве не имя экзешника надо указывать? И зачем вы используете RunWait? Надо просто Run.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-02-16T03:34:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80093#p80093</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80091#p80091" />
			<content type="html"><![CDATA[<p>А у меня так не работает . Я использую вместо блокнота &quot;AkelPad&quot; , но он встраивается в блокнот и использует процесс notepad.exe . <a href="http://www.softportal.com/software-5254-akelpad.html">тут можно посмотреть про &quot;AkelPad&quot; </a> . Вот так выглядит мой код и всё равно не работает.</p><div class="codebox"><pre><code>DetectHiddenWindows, On
LOOP
{
WinWait, AkelPad
runWait, Калькулятор
WinwaitClose, AkelPad
WinClose , Калькулятор
}</code></pre></div><p> Не закрывает оба приложения по закрытию блокнота.Так же пробовал &quot;Process, Close&quot; не помогает.<br />Помогите пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-15T18:31:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80091#p80091</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80078#p80078" />
			<content type="html"><![CDATA[<p>У меня работает, например, так:<br /></p><div class="codebox"><pre><code>
LOOP
{
WinWait, Безымянный — Блокнот
Run, Calc.exe
WinwaitClose, Безымянный — Блокнот
WinClose, Калькулятор
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2014-02-15T10:30:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80078#p80078</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Автоматизация приложений]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80076#p80076" />
			<content type="html"><![CDATA[<p>Доброго времени суток.Есть скрипт в котором при открытии блокнота, открывается калькулятор а при закрытии блокнота, закрываются оба приложения.Скрипт показанный ниже работает не корректно, при открытии блокнота он открывает калькулятор , но не закрывает оба приложения по закрытию блокнота.<br /></p><div class="codebox"><pre><code>DetectHiddenWindows, On
LOOP
{
WinWait, notepad
runWait, Calc.exe
WinwaitClose
WinClose , Calc.exe
}
</code></pre></div><br /><br /><p>А этот скрипт работает наоборот,&nbsp; при открытии блокнота не открывает калькулятор , но если вручную запустить калькулятор, то при закрытии блокнота закрывает оба приложения.<br /></p><div class="codebox"><pre><code>DetectHiddenWindows, On
LOOP
{
WinWait, notepad
WinwaitClose
runWait, Calc.exe
WinClose , Calc.exe
}
</code></pre></div><p>Помогите пожалуйста разобраться.</p>]]></content>
			<author>
				<name><![CDATA[Ядрён]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30092</uri>
			</author>
			<updated>2014-02-15T10:09:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80076#p80076</id>
		</entry>
</feed>
