<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: If/Else]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=17932</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17932&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: If/Else».]]></description>
		<lastBuildDate>Sat, 09 Sep 2023 15:21:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: If/Else]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=159144#p159144</link>
			<description><![CDATA[<div class="codebox"><pre><code>F1::
x1 := 0
y1 := 0
x2 := A_ScreenWidth
y2 := A_ScreenHeight

word := &quot;M3&quot;
rgb1 := 0xFF9632
send, ^f
send, %word%{enter}
sleep, 2500
PixelSearch, x, y, x1, y1, x2, y2, rgb1, 5, Fast RGB
if ErrorLevel {
    MsgBox, True
}
else {
    MsgBox, False
    click right
}
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 09 Sep 2023 15:21:38 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=159144#p159144</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: If/Else]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=159143#p159143</link>
			<description><![CDATA[<p><strong>teadrinker</strong> Можете пожалуйста составить правильный код.</p>]]></description>
			<author><![CDATA[null@example.com (gfrv_l8)]]></author>
			<pubDate>Sat, 09 Sep 2023 15:00:08 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=159143#p159143</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: If/Else]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=159142#p159142</link>
			<description><![CDATA[<p>Когда блок состоит более, чем из одной строки, он должен быть заключён в фигурные скобки.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 09 Sep 2023 14:50:29 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=159142#p159142</guid>
		</item>
		<item>
			<title><![CDATA[AHK: If/Else]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=159139#p159139</link>
			<description><![CDATA[<p>Здравствуйте!<br />Проблема В том в скрипте не реагирует на команду Else то есть если скрипт найдет нужное слова в вкладке должно открыть.</p><div class="codebox"><pre><code>MsgBox, True</code></pre></div><p> А если не найдет слово должно открыть </p><div class="codebox"><pre><code>MsgBox,</code></pre></div><p>.</p><div class="codebox"><pre><code>F1::
rgb1:= 0xFF9632
word:=&quot;M3&quot;
send,^f
send,%word%{enter}
{
    sleep, 2500
    PixelSearch,x,y,x1,y1,w1,h1, rgb1, 5, Fast RGB
    if ErrorLevel
        MsgBox, True
        return
    else {
        MsgBox, False
        click right
        return
    }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gfrv_l8)]]></author>
			<pubDate>Sat, 09 Sep 2023 14:48:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=159139#p159139</guid>
		</item>
	</channel>
</rss>
