<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: PixelSearch в PixelSearch]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=6364</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6364&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: PixelSearch в PixelSearch».]]></description>
		<lastBuildDate>Thu, 27 Oct 2011 10:59:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52953#p52953</link>
			<description><![CDATA[<div class="codebox"><pre><code>PixelSearch, Px, Py, 1089, 130, 1089, 800, 0x78D838, 0, fast
if ErrorLevel
    MsgBox, Ошибочка вышла.
else
{
MouseMove, %Px%, %Py%
MouseGetPos, xpos, ypos 
X11 := xpos + 3
X22 := xpos + 500
Y11 := ypos 
Y22 := ypos - 5
Sleep, 2000

PixelSearch, Px, Py, %X11%, %Y11%, %X22%, %Y22%, 0xEE0000, 3, fast
if ErrorLevel
    MsgBox, Ошибочка вышла.
else
{
MouseMove, %Px%, %Py%
}
}</code></pre></div><p>Либо:<br /></p><div class="codebox"><pre><code>PixelSearch, Px, Py, 1089, 130, 1089, 800, 0x78D838, 0, fast
if ErrorLevel
    MsgBox, Ошибочка вышла.
else
{
MouseMove, %Px%, %Py%
MouseGetPos, xpos, ypos 
Sleep, 2000

PixelSearch, Px, Py, % xpos + 3, %ypos% , % xpos + 500, % ypos - 5, 0xEE0000, 3, fast
if ErrorLevel
    MsgBox, Ошибочка вышла.
else
{
MouseMove, %Px%, %Py%
}
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (creature.ws)]]></author>
			<pubDate>Thu, 27 Oct 2011 10:59:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52953#p52953</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52952#p52952</link>
			<description><![CDATA[<p>можно ли как-то делать PixelSearch в координатах близких к позиции мыши?</p><p>Попытался вот некие переменные применить, но что-то безрезультатно.</p><div class="codebox"><pre><code>PixelSearch, Px, Py, 1089, 130, 1089, 800, 0x78D838, 0, fast
if ErrorLevel
    MsgBox, Ошибочка вышла.
else
{
MouseMove, %Px%, %Py%
MouseGetPos, xpos, ypos 
X11 = xpos + 3
X22 = xpos + 500
Y11 = ypos 
Y22 = ypos - 5
Sleep, 2000

PixelSearch, Px, Py, %X11%, %Y11%, %X22%, %Y22%, 0xEE0000, 3, fast
if ErrorLevel
    MsgBox, Ошибочка вышла.
else
{
MouseMove, %Px%, %Py%
}
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (suicidesinger)]]></author>
			<pubDate>Thu, 27 Oct 2011 10:52:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52952#p52952</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52926#p52926</link>
			<description><![CDATA[<p>Да. Главное оформлять код так, чтобы не запутаться. Обычно увеличивают отступ перед каждым вложенным блоком { ... } .</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Wed, 26 Oct 2011 14:54:28 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52926#p52926</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52924#p52924</link>
			<description><![CDATA[<p>Хм, с нной попытки заработало.</p>]]></description>
			<author><![CDATA[null@example.com (suicidesinger)]]></author>
			<pubDate>Wed, 26 Oct 2011 14:02:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52924#p52924</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52923#p52923</link>
			<description><![CDATA[<p>Вроде всё правильно. Хотя это называется &quot;одно условие, вложенное в другое&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Wed, 26 Oct 2011 12:59:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52923#p52923</guid>
		</item>
		<item>
			<title><![CDATA[AHK: PixelSearch в PixelSearch]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52921#p52921</link>
			<description><![CDATA[<p>Добрый день, столнкулся с необходимостью засунуть один PixelSearch в другой. То есть что то вроде<br /></p><div class="codebox"><pre><code>PixelSearch, Px, Py, 118, 115, 120, 850, 0x78D838, 0, fast
if ErrorLevel
    MsgBox, No Resort.
else
{
...................
PixelSearch, Px, Py, 1089, 130, 1089, 800, 0x78D838, 0, fast
if ErrorLevel
    MsgBox, Ошибочка вышла.
else
{
...............
}}</code></pre></div><p>Возможно ли такое? Если да, то как это грамотно оформить ?</p><p>Многоточием обозначены различные действия, не имеющие для данной темы значения.</p>]]></description>
			<author><![CDATA[null@example.com (suicidesinger)]]></author>
			<pubDate>Wed, 26 Oct 2011 11:48:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52921#p52921</guid>
		</item>
	</channel>
</rss>
