<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Поиск текста]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17555&amp;type=atom" />
	<updated>2023-01-18T23:48:50Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17555</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156437#p156437" />
			<content type="html"><![CDATA[<p><strong>nikita2014693</strong><br />Функции ImageSearch часто трудновато искать конкретное изображение. Я обычно всегда добавляю *2, тогда гарантированно находит.<br />В данном случае стоит попробовать так<br /></p><div class="codebox"><pre><code>
ImageSearch, FoundX, FoundY, 0,0, 1920, 1080, *2 C:\Users\pasho\Downloads\3.png
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Madmer]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42664</uri>
			</author>
			<updated>2023-01-18T23:48:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156437#p156437</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156356#p156356" />
			<content type="html"><![CDATA[<p>У вас изображение плохого качества. Сделайте нормальное и тогда заработает. Проверено.</p>]]></content>
			<author>
				<name><![CDATA[Taveron]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41949</uri>
			</author>
			<updated>2023-01-14T20:33:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156356#p156356</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156355#p156355" />
			<content type="html"><![CDATA[<p><strong>Taveron</strong><br />Сделал как вы сказали, ваша программа не реагирует, поставил как у меня было изначально, пишет &quot;Невозможно начать поиск&quot;.</p>]]></content>
			<author>
				<name><![CDATA[nikita2014693]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41339</uri>
			</author>
			<updated>2023-01-14T20:01:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156355#p156355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156354#p156354" />
			<content type="html"><![CDATA[<p><strong>nikita2014693</strong>, разместите изображение и скрипт в одной папке.<br /></p><div class="codebox"><pre><code>
Numpad1::
	CoordMode, Pixel, Screen
	ImageSearch, FoundX, FoundY, 0, 0, 1920, 1080, %A_ScriptDir%\3.png
	if (ErrorLevel = 0)
		MsgBox, Изображение найдено в координатах x=%FoundX%, y=%FoundY%.
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Taveron]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41949</uri>
			</author>
			<updated>2023-01-14T19:12:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156354#p156354</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156353#p156353" />
			<content type="html"><![CDATA[<p><strong>Taveron</strong></p><p>1 Файл я взял для примера, с с названием 3.png тоже не работает.<br />2 Нумпад работает.</p>]]></content>
			<author>
				<name><![CDATA[nikita2014693]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41339</uri>
			</author>
			<updated>2023-01-14T18:59:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156353#p156353</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156352#p156352" />
			<content type="html"><![CDATA[<p>1. Файл изображения, который вы предоставили в своём посте, называется <strong>2.png</strong>.<br />2. <strong>Numpad1</strong> будет работать только при включённом <strong>NumLock</strong>.</p>]]></content>
			<author>
				<name><![CDATA[Taveron]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41949</uri>
			</author>
			<updated>2023-01-14T18:54:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156352#p156352</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156351#p156351" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Извиняюсь! Вроде исправил.</p>]]></content>
			<author>
				<name><![CDATA[nikita2014693]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41339</uri>
			</author>
			<updated>2023-01-14T18:28:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156351#p156351</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156350#p156350" />
			<content type="html"><![CDATA[<p><strong>nikita2014693</strong>, вы опять игнорируете правила форума. Даю вам час, чтобы исправиться, иначе нам придётся попрощаться.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-01-14T18:22:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156350#p156350</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Поиск текста]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156348#p156348" />
			<content type="html"><![CDATA[<p>Хочу найти с помощью программы маленькое изображение на экране, допустим лупа в вк, не находит, не понимаю почему не находит, помогите пожалуйста.</p><div class="codebox"><pre><code>
 Numpad1::

ImageSearch, FoundX, FoundY, 0,0, 1920, 1080, C:\Users\pasho\Downloads\3.png
if ErrorLevel = 2
    MsgBox Произвести поиск невозможно.
else if ErrorLevel = 1
    MsgBox Изображение не найдено на экране.
else
    MsgBox Изображение найдено в координатах x=%FoundX%, y=%FoundY%.

return
Numpad4::ExitApp
Numpad3::Reload
Numpad2::pause
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[nikita2014693]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41339</uri>
			</author>
			<updated>2023-01-14T18:15:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156348#p156348</id>
		</entry>
</feed>
