<?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=14172</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14172&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Подскажите как создать условия?».]]></description>
		<lastBuildDate>Sun, 16 Sep 2018 14:02:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Подскажите как создать условия?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=128720#p128720</link>
			<description><![CDATA[<p>Посмотри справку по if - <strong>else</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (Foma)]]></author>
			<pubDate>Sun, 16 Sep 2018 14:02:49 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=128720#p128720</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Подскажите как создать условия?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=128717#p128717</link>
			<description><![CDATA[<div class="quotebox"><cite>egorhay пишет:</cite><blockquote><p>Нужно чтобы в случаи нахождения изображения. Выскакивала уведомление/ также и в случаи его не нахождения. А лучше чтобы информация о нахождении записывалась в файл info.txt результатом 0 если не нашел и 1 если нашел. <br /></p><div class="codebox"><pre><code>Run, chrome.exe &quot;http://site&quot;
Sleep, 4500
Send, {tab}
Sleep, 3500
ImageSearch, xp, yp, 354, 449, 561, 484, *30 yes.png
Sleep 200
if xp = 0 
MsgBox, no!
if xp &gt; 0 
MsgBox, Yes!
ExitApp
</code></pre></div></blockquote></div><p>Вроде разобрался, решил это вот так, <br /></p><div class="codebox"><pre><code>
Run, chrome.exe &quot;http://*&quot;
Sleep, 4500
Send, {tab}
Sleep, 3500
loop,
{
ImageSearch, xp, yp, 354, 449, 561, 484, *30 yes.png
sleep, 200 
if xp &gt; 0
MsgBox, Yes!
Break
}

Loop,
{
ImageSearch, , , 354, 449, 561, 484, *30 yes.png
Sleep 200
if xp &lt; 0
MsgBox, No!
Break
}

ExitApp
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (egorhay)]]></author>
			<pubDate>Sun, 16 Sep 2018 11:48:01 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=128717#p128717</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Подскажите как создать условия?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=128716#p128716</link>
			<description><![CDATA[<div class="quotebox"><cite>Правила форума пишет:</cite><blockquote><p><span style="color: red">Не используйте в заголовках тем слова &quot;простой вопрос&quot;, &quot;нужна помощь&quot;, &quot;помогите&quot;, &quot;новичок&quot; и т.п. </span></p></blockquote></div><p><span style="color: green"><strong>egorhay</strong>, исправьте заголовок темы.</span></p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Sun, 16 Sep 2018 11:06:47 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=128716#p128716</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Подскажите как создать условия?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=128715#p128715</link>
			<description><![CDATA[<p>Нужно чтобы в случаи нахождения изображения. Выскакивала уведомление/ также и в случаи его не нахождения. А лучше чтобы информация о нахождении записывалась в файл info.txt результатом 0 если не нашел и 1 если нашел. <br /></p><div class="codebox"><pre><code>Run, chrome.exe &quot;http://site&quot;
Sleep, 4500
Send, {tab}
Sleep, 3500
ImageSearch, xp, yp, 354, 449, 561, 484, *30 yes.png
Sleep 200
if xp = 0 
MsgBox, no!
if xp &gt; 0 
MsgBox, Yes!
ExitApp
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (egorhay)]]></author>
			<pubDate>Sun, 16 Sep 2018 10:31:05 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=128715#p128715</guid>
		</item>
	</channel>
</rss>
