<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Работа в определённом цветовом диапазоне.]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=17563</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17563&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Работа в определённом цветовом диапазоне.».]]></description>
		<lastBuildDate>Tue, 17 Jan 2023 18:18:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Работа в определённом цветовом диапазоне.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156424#p156424</link>
			<description><![CDATA[<p>Тут уж пишите что именно не ясно, какая строка. А так, побитное смещение вычленяет отдельные цвета, и далее просто смотрит больше или меньше.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Tue, 17 Jan 2023 18:18:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156424#p156424</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Работа в определённом цветовом диапазоне.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156423#p156423</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong> Спасибо а не могли бы объяснить что за что отвечает?</p>]]></description>
			<author><![CDATA[null@example.com (pwch)]]></author>
			<pubDate>Tue, 17 Jan 2023 15:15:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156423#p156423</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Работа в определённом цветовом диапазоне.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156418#p156418</link>
			<description><![CDATA[<div class="codebox"><pre><code>
MsgBox % BetweenColors(0xE0E0E7, 0xE0, 0xE7) 

BetweenColors(bgr, min, max) {  
	c := (bgr &amp; 0xff)
	if (c &lt; min || c &gt; max)
		return false 
	c := ((bgr &gt;&gt; 8) &amp; 0xff)
	if (c &lt; min || c &gt; max)
		return false  
	c := ((bgr &gt;&gt; 16) &amp; 0xff)
	if (c &lt; min || c &gt; max)
		return false
	return true
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Mon, 16 Jan 2023 19:37:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156418#p156418</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Работа в определённом цветовом диапазоне.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=156416#p156416</link>
			<description><![CDATA[<p>Необходимо сделать так чтобы if в срабатывал в диапазоне цвета от 0xE0E0E0 до 0xE7E7E7.<br />По типу<br /></p><div class="codebox"><pre><code>
PixelGetColor, ec, 919, 900
if ec = 3и4 значение переменной ec в диапaзоне от E0 до E7
{
if ec = 5и6 значение переменной ec в диапaзоне от E0 до E7
{
if ec = 7и8 значение переменной ec в диапaзоне от E0 до E7
{
sendinput {e}
}
}
}</code></pre></div><p>Или<br /></p><div class="codebox"><pre><code>if ec = E и значение от 0 до 7 а остальное игнорируется. Также с 5 и 6 позицией переменной ec 7 и 8, а каждый раз ещё игорировать 1 и 2 значение переменной ec
</code></pre></div><p> <br />Последущее также но игнорируя</p>]]></description>
			<author><![CDATA[null@example.com (pwch)]]></author>
			<pubDate>Mon, 16 Jan 2023 19:05:17 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=156416#p156416</guid>
		</item>
	</channel>
</rss>
