<?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=6349</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6349&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: параллельный процесс (комманда)».]]></description>
		<lastBuildDate>Sat, 22 Oct 2011 17:41:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: параллельный процесс (комманда)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52800#p52800</link>
			<description><![CDATA[<p>Странно. Работает на всех документах кроме одного, на котором я и проверял настройки.</p>]]></description>
			<author><![CDATA[null@example.com (Вадим)]]></author>
			<pubDate>Sat, 22 Oct 2011 17:41:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52800#p52800</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: параллельный процесс (комманда)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52798#p52798</link>
			<description><![CDATA[<div class="quotebox"><cite>Вадим пишет:</cite><blockquote><p>Подскажите, где именно.</p></blockquote></div><p>Edit-&gt;Preferences-&gt;Documents-&gt;Restore last view settings when reopening documents</p>]]></description>
			<author><![CDATA[null@example.com (Александр_)]]></author>
			<pubDate>Sat, 22 Oct 2011 17:35:08 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52798#p52798</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: параллельный процесс (комманда)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52796#p52796</link>
			<description><![CDATA[<p>Подскажите, где именно.</p>]]></description>
			<author><![CDATA[null@example.com (Вадим)]]></author>
			<pubDate>Sat, 22 Oct 2011 17:09:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52796#p52796</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: параллельный процесс (комманда)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52795#p52795</link>
			<description><![CDATA[<div class="quotebox"><cite>Вадим пишет:</cite><blockquote><p>Скрипт, который запоминает номер страницы в Адобе Ридер, записывает в файл, а при открытии открывает ее(страницу). Разумеется учитывается название документа.</p></blockquote></div><p>А может проще в настройках программы поставить соответствующую галочку? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (Александр_)]]></author>
			<pubDate>Sat, 22 Oct 2011 16:43:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52795#p52795</guid>
		</item>
		<item>
			<title><![CDATA[AHK: параллельный процесс (комманда)]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52794#p52794</link>
			<description><![CDATA[<div class="codebox"><pre><code>way = d:\adobehistory\
process, wait, AcroRd32.exe
loop
	{
	if (ErrorLevel&lt;&gt;0)
		{
		sleep, 3000
		WinGetTitle, title, A
		ifexist, %way%%title%.txt
			{
			sleep, 100
			FileRead, number, %way%%title%.txt
			ControlSetText,Edit2, %number%, A
			ControlSend, Edit2, {enter}, A			
			}
		}
	loop
		{
		label:
		sleep 1000
		WinGetTitle, title2, ahk_class AcrobatSDIWindow
		ControlGetText, number2, Edit2, ahk_class AcrobatSDIWindow
		filedelete, %way%%title2%.txt
		FileAppend, %number2%, %way%%title2%.txt
		Process, waitclose, AcroRd32.exe
		if (ErrorLevel=0)
		Reload
		}
	}</code></pre></div><p>Скрипт, который запоминает номер страницы в Адобе Ридер, записывает в файл, а при открытии открывает ее(страницу). Разумеется учитывается название документа. <br />Вопрос: есть строки:<br /></p><div class="codebox"><pre><code>FileAppend, %number2%, %way%%title2%.txt
		Process, waitclose, AcroRd32.exe
		if (ErrorLevel=0)
		Reload</code></pre></div><p>Мне нужно чтобы команда Process, waitclose, AcroRd32.exe работала параллельно. Ато получается, что цикл останавливается. Или можно как-то обойти? Возможно есть советы для улучшения?</p>]]></description>
			<author><![CDATA[null@example.com (Вадим)]]></author>
			<pubDate>Sat, 22 Oct 2011 16:21:35 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52794#p52794</guid>
		</item>
	</channel>
</rss>
