<?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=16456&amp;type=atom" />
	<updated>2021-06-27T10:04:07Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=16456</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: помогите найти ошибку]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148622#p148622" />
			<content type="html"><![CDATA[<p>Читаем справку по <a href="https://ahk-wiki.ru/controlsend">ControlSend</a> и сразу находим примеры как использовать команду.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2021-06-27T10:04:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148622#p148622</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: помогите найти ошибку]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=148620#p148620" />
			<content type="html"><![CDATA[<p>Вот код<br /></p><div class="codebox"><pre><code>F5:: x:= &quot;1&quot;
F4::
x := &quot;0&quot;
Loop{	
    sleep, 1
    PixelGetColor, color_down6, 1057, 905, RGB
	if ( color_down6 = &quot;0xBDBЕBE&quot; ) {
			ControlSend, {vk45}
			sleep, 1
	}
	else
        sleep, 1
		PixelGetColor, color_down5, 1057, 905, RGB
		if ( color_down5 = &quot;0xBDBDBD&quot; ) {
			ControlSend, {vk45}
			sleep, 1
		}
	else
        sleep, 1
		PixelGetColor, color_down5, 1057, 905, RGB
		if ( color_down5 = &quot;0xBDBDBE&quot; ) {
			ControlSend, {vk45}
			sleep, 1
		}
	else
        sleep, 1
		PixelGetColor, color_down5, 858, 859, RGB
	        if ( color_down5 = &quot;0xC1C1C1&quot; ) {
		ControlSend, {vk41}, ahk_exe GTA5.exe
		sleep, 349
		}
	else
        sleep, 1
		PixelGetColor, color_down2, 1004, 864, RGB
		if ( color_down2 = &quot;0xC1C1C1&quot; ) {
			ControlSend, {vk44}, ahk_exe GTA5.exe
			sleep, 349
		}
	else
        sleep, 1
		PixelGetColor, color_down2, 1325, 887, RGB
		if ( color_down2 = &quot;0xC1C1C1&quot; ) {
			break
		}

	
    }</code></pre></div><p>Выдаёт ошибку Parametr #2 required на строки с (</p><div class="codebox"><pre><code>x := &quot;0&quot;</code></pre></div><p>) по (</p><div class="codebox"><pre><code>	if ( color_down6 = &quot;0xBDBЕBE&quot; ) {
			ControlSend, {vk45}
			sleep, 1</code></pre></div><p>)</p>]]></content>
			<author>
				<name><![CDATA[sfas]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41836</uri>
			</author>
			<updated>2021-06-27T09:41:15Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=148620#p148620</id>
		</entry>
</feed>
