<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15437&amp;type=atom" />
	<updated>2020-06-25T01:01:19Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15437</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140287#p140287" />
			<content type="html"><![CDATA[<p>Кто-то пишет тригер бот</p>]]></content>
			<author>
				<name><![CDATA[Gamer Simpson]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40920</uri>
			</author>
			<updated>2020-06-25T01:01:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140287#p140287</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140107#p140107" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> так работает, спасибо</p>]]></content>
			<author>
				<name><![CDATA[melxr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40903</uri>
			</author>
			<updated>2020-06-11T11:43:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140107#p140107</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140106#p140106" />
			<content type="html"><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>Loop {
   PixelSearch, px, py, 693, 169, 1327, 890, 0xFF4D45,, Fast|RGB
   found := !ErrorLevel
   if (found &amp;&amp; found != prevFound)
      Send, {RButton}
   prevFound := found
   Sleep, 10
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-06-11T11:36:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140106#p140106</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140105#p140105" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong> ваш код &quot;чтобы нажималось один раз&quot;, не нажимает когда видит цвет</p>]]></content>
			<author>
				<name><![CDATA[melxr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40903</uri>
			</author>
			<updated>2020-06-11T11:07:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140105#p140105</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140104#p140104" />
			<content type="html"><![CDATA[<p>Чтобы нажималось один раз:<br /></p><div class="codebox"><pre><code>PixelSearch,px,py,693,169,1327,890,0xFF4D45,0,Fast|RGB
If (ErrorLevel = 0)
send, {RButton}
Return

x:: Pause</code></pre></div><br /><p>С задержкой:<br /></p><div class="codebox"><pre><code>Loop
{
PixelSearch,px,py,693,169,1327,890,0xFF4D45,0,Fast|RGB
If (ErrorLevel = 0)
send, {RButton}
Sleep, 2000
}

x:: Pause</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2020-06-11T10:47:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140104#p140104</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140103#p140103" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong> это весь код скрипта, этот скрипт нажимает правую кнопку мыши когда видет цвет который я указал, но он нажимает постоянно, мне нужно чтобы правая кнопка мыши нажималась один раз, или как-то можно в этом скрипте поставить задержку для send, {RButton} ?<br /> ?</p>]]></content>
			<author>
				<name><![CDATA[melxr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40903</uri>
			</author>
			<updated>2020-06-11T10:36:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140103#p140103</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140102#p140102" />
			<content type="html"><![CDATA[<p>Вы поставили команду <em>Send</em> в цикл. Поэтому она будет срабатывать каждый раз, когда выполняется условие If (ErrorLevel = 0). А что требуется? И что в первом сообщении - это только часть кода или весь код скрипта?</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2020-06-11T10:07:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140102#p140102</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140098#p140098" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong> оу, вопросительный знак в конце не поставил )</p>]]></content>
			<author>
				<name><![CDATA[melxr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40903</uri>
			</author>
			<updated>2020-06-11T07:04:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140098#p140098</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140097#p140097" />
			<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>2020-06-11T06:13:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140097#p140097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: как сделать чтобы клавиша RButton нажималась один раз ?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=140096#p140096" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Loop
{
PixelSearch,px,py,693,169,1327,890,0xFF4D45,0,Fast|RGB
If (ErrorLevel = 0)
send, {RButton}
}
x:: Pause</code></pre></div>]]></content>
			<author>
				<name><![CDATA[melxr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40903</uri>
			</author>
			<updated>2020-06-11T01:42:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=140096#p140096</id>
		</entry>
</feed>
