<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Закрыть скрипты с помощью скрипта]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11264</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11264&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Закрыть скрипты с помощью скрипта».]]></description>
		<lastBuildDate>Wed, 27 Jan 2016 18:31:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Закрыть скрипты с помощью скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100696#p100696</link>
			<description><![CDATA[<p>Спасибо работает.</p>]]></description>
			<author><![CDATA[null@example.com (Dworkin)]]></author>
			<pubDate>Wed, 27 Jan 2016 18:31:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100696#p100696</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Закрыть скрипты с помощью скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100694#p100694</link>
			<description><![CDATA[<p>Тьфу ты... ошибся, пора отдыхать.<br />Вот:<br /></p><div class="codebox"><pre><code>loop,5
  Process, close,% Pid%a_index% ; здесь был 1 лишний знак %
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Wed, 27 Jan 2016 18:20:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100694#p100694</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Закрыть скрипты с помощью скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100693#p100693</link>
			<description><![CDATA[<p>Все равно процессы скриптов не завершаются. Ничего не происходит.<br />Если так то работает, но надо как выше.<br /></p><div class="codebox"><pre><code>Process, close, %Pid1%
Process, close, %Pid2% 
Process, close, %Pid3% 
Process, close, %Pid4% 
Process, close, %Pid5%</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Dworkin)]]></author>
			<pubDate>Wed, 27 Jan 2016 17:57:48 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100693#p100693</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Закрыть скрипты с помощью скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100692#p100692</link>
			<description><![CDATA[<div class="codebox"><pre><code>
F2::
Goto, Runscript
return

F3::
Goto, Close
return

Runscript:
loop,5
  Run, Ped%a_index%.ahk, , , Pid%a_index%
return

Close:
loop,5
  Process, close,Pid%a_index% ; здесь были лишние знаки %
return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Wed, 27 Jan 2016 17:46:22 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100692#p100692</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Закрыть скрипты с помощью скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=100691#p100691</link>
			<description><![CDATA[<p>Добрый вечер. Помогите пожалуйста. У меня есть 5 скриптов:<br />Ped1.ahk<br />Ped2.ahk<br />Ped3.ahk<br />Ped4.ahk<br />Ped5.ahk<br />и основной скрипт.</p><div class="codebox"><pre><code>
F2::
Goto, Runscript
return

F3::
Goto, Close
return

Runscript:
i := 1

While (i &lt;= 5) {
Run, Ped%i%.ahk, , , Pid%i%
i++
}
return

Close:
k := 1

While (k &lt;= 5) {
Process, close, %Pid%%k%
k++
}
return
</code></pre></div><p>Когда нажимаю F2 то скрипты запускаются, но когда жму F3&nbsp; скрипты не закрываются. Мне нужно закрыть процессы скриптов именно таким способом. Спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (Dworkin)]]></author>
			<pubDate>Wed, 27 Jan 2016 17:41:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=100691#p100691</guid>
		</item>
	</channel>
</rss>
