<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: PixelSearch в PixelSearch]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6364&amp;type=atom" />
	<updated>2011-10-27T10:59:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6364</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=52953#p52953" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2011-10-27T10:59:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=52953#p52953</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=52952#p52952" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[suicidesinger]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27318</uri>
			</author>
			<updated>2011-10-27T10:52:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=52952#p52952</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=52926#p52926" />
			<content type="html"><![CDATA[<p>Да. Главное оформлять код так, чтобы не запутаться. Обычно увеличивают отступ перед каждым вложенным блоком { ... } .</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2011-10-26T14:54:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=52926#p52926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=52924#p52924" />
			<content type="html"><![CDATA[<p>Хм, с нной попытки заработало.</p>]]></content>
			<author>
				<name><![CDATA[suicidesinger]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27318</uri>
			</author>
			<updated>2011-10-26T14:02:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=52924#p52924</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: PixelSearch в PixelSearch]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=52923#p52923" />
			<content type="html"><![CDATA[<p>Вроде всё правильно. Хотя это называется &quot;одно условие, вложенное в другое&quot;.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2011-10-26T12:59:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=52923#p52923</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: PixelSearch в PixelSearch]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=52921#p52921" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[suicidesinger]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27318</uri>
			</author>
			<updated>2011-10-26T11:48:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=52921#p52921</id>
		</entry>
</feed>
