<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ImageSearch не реагирует]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=17559&amp;type=atom" />
	<updated>2023-01-19T00:13:01Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=17559</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ImageSearch не реагирует]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=156439#p156439" />
			<content type="html"><![CDATA[<p><strong>Andreyka</strong><br /></p><div class="codebox"><pre><code>
Label2:
    sleep 50
    ImageSearch, FoundX, FoundY, 1220, 710, 1330, 790, *2 C:\wasd\w.png
    if (ErrorLevel = 0) 
    {  
        sleep, 50
        SendInput, {sc11}
        BlockInput, Default
    }
    else if (ErrorLevel = 1)
			{
				goto, Label3 
    		}
Label3:
    sleep, 50
    ImageSearch, FoundX, FoundY, 1220, 710, 1330, 790, *2 C:\wasd\a.png
    if (ErrorLevel = 0)
    {
		sleep, 50
        SendInput, {sc1E}
        BlockInput, Default
    }
    else if (ErrorLevel = 1)
			{
				goto, Label4 
			}
Label4:
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Madmer]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42664</uri>
			</author>
			<updated>2023-01-19T00:13:01Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=156439#p156439</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: ImageSearch не реагирует]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=156404#p156404" />
			<content type="html"><![CDATA[<p>Привет!<br />Кое как сделал скрипт. И не могу понять, почему он не работает? Хотелось спросить у вас, в чём может быть проблема?<br />Не реагирует на картинки.<br />Часть кода, именно тут ничего не происходит. А должно, при обнаружении картинки, нажать привязанную к ней кнопку.<br /></p><div class="codebox"><pre><code>    Label2:
    sleep 50
    ImageSearch, FoundX, FoundY, 1220, 710, 1330, 790, C:\wasd\w.png
    if ErrorLevel = 0 
       { sleep, 50
       SendInput, {sc11}
        BlockInput, Default
       }
    else ErrorLevel = 1
    { goto, Label3 
    }
    Label3:
    sleep, 50
    ImageSearch, FoundX, FoundY, 1220, 710, 1330, 790, C:\wasd\a.png
    if ErrorLevel = 0 
       { sleep, 50
       SendInput, {sc1E}
        BlockInput, Default
       }
    else ErrorLevel = 1
       { goto, Label4 
       }
    Label4:
</code></pre></div><p>Одна из картинок:<br /><span class="postimg"><img src="https://forum.script-coding.com/misc.php?action=pun_attachment&amp;item=2310&amp;download=1&amp;secure_str=42970f27" alt="https://forum.script-coding.com/misc.php?action=pun_attachment&amp;amp;item=2310&amp;amp;download=1&amp;amp;secure_str=42970f27" /></span></p>]]></content>
			<author>
				<name><![CDATA[Andreyka]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42970</uri>
			</author>
			<updated>2023-01-15T19:08:59Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=156404#p156404</id>
		</entry>
</feed>
