<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=16408&amp;type=atom" />
	<updated>2021-06-09T17:29:53Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=16408</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148405#p148405" />
			<content type="html"><![CDATA[<p>Поздравляю! <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> У нас темы обычно не закрывают.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T17:29:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148405#p148405</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148404#p148404" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Все вышло, все работает. Огромное спасибо вам за помощь. Это мой первый код, мой первый опыт. И он успешен. Благодарен вам за помощь, можно закрывать тему.</p>]]></content>
			<author>
				<name><![CDATA[YrukZ]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41787</uri>
			</author>
			<updated>2021-06-09T17:27:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148404#p148404</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148403#p148403" />
			<content type="html"><![CDATA[<p>Вам нужно просто в этом скрипте<br /></p><div class="codebox"><pre><code>Loop {
   ImageSearch, x, y, 634, 632, 1500, 932, *75 %A_ScriptDir%\i3.jpg
   ToolTip % &quot;ErrorLevel: &quot; . ErrorLevel . &quot;`nx: &quot; . x . &quot;`ny: &quot; . y
   Sleep, 10
}</code></pre></div><p>вместо строчки, где отображается ErrorLevel и координаты, прописать условие: если ErrorLevel равен 0, послать пробел. Экспериментируйте.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T17:11:04Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148403#p148403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148402#p148402" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Сам не знаю... За основу брал похожий скрипт.</p>]]></content>
			<author>
				<name><![CDATA[YrukZ]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41787</uri>
			</author>
			<updated>2021-06-09T17:06:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148402#p148402</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148401#p148401" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>YrukZ пишет:</cite><blockquote><div class="codebox"><pre><code>x1 := x + 1
y1 := y + 2</code></pre></div></blockquote></div><p>А это зачем?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T16:55:09Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148401#p148401</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148400#p148400" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br /></p><div class="codebox"><pre><code>     	Loop {
ImageSearch, x, y, 634, 632, 1500, 932, *75 %A_ScriptDir%\i3.jpg
x1 := x + 1
y1 := y + 2
if !ErrorLevel 0
{
Send {space}
}
}</code></pre></div><p>Получается код должен выглядеть так?</p>]]></content>
			<author>
				<name><![CDATA[YrukZ]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41787</uri>
			</author>
			<updated>2021-06-09T16:49:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148400#p148400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148399#p148399" />
			<content type="html"><![CDATA[<p>Я вас не понимаю. Зачем нужно искать пиксель, если пробел нужно нажимать в тот момент, когда найдена картинка моим кодом выше?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T16:46:30Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148399#p148399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148398#p148398" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Ну, а что я напишу кроме того что есть, по идее же все должно работать.<br /></p><div class="codebox"><pre><code>x1 := x + 1
y1 := y + 2
PixelSearch, OutputVarX, OutputVarY, x, y, x1, y1, *75 0xffffff
if !ErrorLevel
{
Send {space}
}
}</code></pre></div><p>Должно все работать в таком виде... Или я не прав?</p>]]></content>
			<author>
				<name><![CDATA[YrukZ]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41787</uri>
			</author>
			<updated>2021-06-09T16:43:12Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148398#p148398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148397#p148397" />
			<content type="html"><![CDATA[<p>А зачем вторая часть кода, если первая уже всё находит? Просто выбросьте её, пропишите нажатие пробела, когда ErrorLevel равно 0.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T16:28:09Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148397#p148397</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148396#p148396" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Я запутался маленько.<br />Смотрите, на видео когда ErrorLevel 0 показывает, должен прожиматся пробел, но этого не происходит. Я сделал из этого вывод что проблема во второй части кода.</p>]]></content>
			<author>
				<name><![CDATA[YrukZ]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41787</uri>
			</author>
			<updated>2021-06-09T16:22:14Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148396#p148396</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148395#p148395" />
			<content type="html"><![CDATA[<p>Так а зачем вам что-то дополнительно искать? Я так понял, что вы как раз и ожидаете момента, в который мой код показывает ErrolLevel 0. Или нет?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T16:10:23Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148395#p148395</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148394#p148394" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />То есть в момент когда белый круг в зеленой зоне, пишет ErrolLevel: 0, как и должно быть я понимаю, тогда в чем проблема.<br />Получается что надо решать что то в этом коде. <br /></p><div class="codebox"><pre><code>PixelSearch, OutputVarX, OutputVarY, x, y, x1, y1, *75 0xffffff
if !ErrorLevel
{
Send {space}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YrukZ]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41787</uri>
			</author>
			<updated>2021-06-09T16:05:10Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148394#p148394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148392#p148392" />
			<content type="html"><![CDATA[<p>Значит работает.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T15:23:23Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148392#p148392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148391#p148391" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Смотрите что выходит. <br /><a href="http:////youtu.be/qy4Vtl-5Ig8">//youtu.be/qy4Vtl-5Ig8</a><br />То есть в момент когда белый круг в зеленой зоне, пишет ErrolLevel: 0, как и должно быть я понимаю, тогда в чем проблема.</p>]]></content>
			<author>
				<name><![CDATA[YrukZ]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41787</uri>
			</author>
			<updated>2021-06-09T15:20:00Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148391#p148391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Цвет пикселя.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148389#p148389" />
			<content type="html"><![CDATA[<p>Да, запускаете изображение, потом этот код отдельно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-09T15:07:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148389#p148389</id>
		</entry>
</feed>
