<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Выполнение скрипта в Pause режиме]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=10025</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=10025&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Выполнение скрипта в Pause режиме».]]></description>
		<lastBuildDate>Tue, 07 Oct 2014 13:46:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87076#p87076</link>
			<description><![CDATA[<p>Повесь в рабочем скрипте на один неиспользуемый хоткей <span class="bbu">Pause, On</span>, на другой соответственно <span class="bbu">Pause, Off</span> и вызывай их из другого скрипта.</p>]]></description>
			<author><![CDATA[null@example.com (Irbis)]]></author>
			<pubDate>Tue, 07 Oct 2014 13:46:43 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87076#p87076</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87075#p87075</link>
			<description><![CDATA[<p>Наверное, я плохо вчитался.<br />Убрать с паузы из другого скрипта можно, например, так:<br /></p><div class="codebox"><pre><code>ControlSend, , {Pause}, C:\New AutoHotkey Script.ahk</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 07 Oct 2014 13:43:19 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87075#p87075</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87074#p87074</link>
			<description><![CDATA[<p>Не пойму информативность вышеизложенной ссылки в решении поставленной задачи.</p>]]></description>
			<author><![CDATA[null@example.com (Странникх)]]></author>
			<pubDate>Tue, 07 Oct 2014 13:25:47 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87074#p87074</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87073#p87073</link>
			<description><![CDATA[<p><a href="http://www.autohotkey.com/board/topic/20599-is-there-a-variable-like-a-ispaused/#entry135058">http://www.autohotkey.com/board/topic/2 … ntry135058</a></p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Tue, 07 Oct 2014 13:15:35 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87073#p87073</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87068#p87068</link>
			<description><![CDATA[<p>Через OnMessage ловлю только поставку на паузу, а снятие не ловлю, видимо из-за того, что скрипт в режиме паузы. <br />Задача: поставить паузу и удерживать ее при нахождении определенного пикселя или картинки с помощью imagesearch, а как только картинка или пиксель не найдены и режим скрипта Pause,on , тогда перевести скрипт в Pause,off</p>]]></description>
			<author><![CDATA[null@example.com (Странникх)]]></author>
			<pubDate>Tue, 07 Oct 2014 08:07:12 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87068#p87068</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87041#p87041</link>
			<description><![CDATA[<p>Поставить на паузу, но так, чтобы не было паузы? Здесь что-то не так, правильно сформулируйте задачу. В чём суть паузы?</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Mon, 06 Oct 2014 14:24:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87041#p87041</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87036#p87036</link>
			<description><![CDATA[<p>А вы в другом-то скрипте ловите это сообщение через OnMessage или нет?</p><p>Вообще, в чём общая задача заключается, зачем это всё нужно?</p>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Mon, 06 Oct 2014 02:43:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87036#p87036</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Выполнение скрипта в Pause режиме]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=87034#p87034</link>
			<description><![CDATA[<div class="codebox"><pre><code>Loop
{
PixelSearch, 0, 0, 0, 0, 0xC7C9C8
if ErrorLevel = 0
Pause, on

if ErrorLevel = 1
Pause, off

sleep, 100
}
Return</code></pre></div><p>Пример вышеизложенной задачи - не работает, потому что, когда запускается <strong>Pause, on</strong>, то скрипт перестает обрабатывать цикл. Можно ли как-нибудь задать так, чтобы в режиме Pause скрипт запускал отдельным цикл, не зависящий от паузы, для того, чтобы можно было перевести скрипт из <strong>Pause, on</strong> в <strong>Pause, off</strong>? <br />Рассматривал альтернативное решение через послание паузы из другого скрипта<br /></p><div class="codebox"><pre><code>DetectHiddenWindows, On
WM_COMMAND := 0x111
ID_FILE_PAUSE := 65403

w::
PostMessage, 0x111, 65305,,, 2.ahk ahk_class AutoHotkey

E::
PostMessage, WM_COMMAND, Pause On,,, 2.ahk ahk_class AutoHotkey</code></pre></div><p>Пауза вроде как посылается, но таким же методом (посылки) снять не получается.</p><p>Пока что без понятия как решить задачу.</p>]]></description>
			<author><![CDATA[null@example.com (Странникх)]]></author>
			<pubDate>Sun, 05 Oct 2014 23:33:30 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=87034#p87034</guid>
		</item>
	</channel>
</rss>
