<?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="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9421&amp;type=atom" />
	<updated>2014-03-26T15:49:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=9421</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81232#p81232" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Вообщем Сам смог додуматься,</p></blockquote></div><p>Это хорошо. А по остальному — <span style="color: Green"><strong>vip.emirates</strong>, я Вас поздравляю — бан на три дня за нарушение пп. 2.2 и 2.3 Правил</span>.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-03-26T15:49:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81232#p81232</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81231#p81231" />
			<content type="html"><![CDATA[<p>Вообщем Сам смог додуматься, херово относитесь к новичкам форума</p>]]></content>
			<author>
				<name><![CDATA[vip.emirates]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31989</uri>
			</author>
			<updated>2014-03-26T14:56:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81231#p81231</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81230#p81230" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><div class="codebox"><pre><code>1::
Loop
{
   GetKeyState, state, 1
   if state = U
      break
   sleep 100
   SoundBeep
   PixelGetColor, color , 400 , 557
   if (color = 0x1B2195) {
      ControlSend,,Q, World of Warcraft ; кнопка А
      Continue
   }
   PixelGetColor, color , 470 , 559
   if (color = 0xF0DDCA) {
      ControlSend,,3, World of Warcraft ;  кнопка Б
      Continue
   }
   PixelGetColor, color , 507 , 561
   if color = 0x2D1F27
      ControlSend,,F, World of Warcraft ;  кнопка С
}
</code></pre></div></blockquote></div><p>Если добавить Continue то скрипт вообще работать не будет. Тут кто не будь может написать рабочий дельный вариант скрипта...</p>]]></content>
			<author>
				<name><![CDATA[vip.emirates]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31989</uri>
			</author>
			<updated>2014-03-26T14:23:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81230#p81230</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81229#p81229" />
			<content type="html"><![CDATA[<p>Исправил все... может уже поможете?</p>]]></content>
			<author>
				<name><![CDATA[vip.emirates]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31989</uri>
			</author>
			<updated>2014-03-26T13:59:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81229#p81229</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81228#p81228" />
			<content type="html"><![CDATA[<p><span style="color: green">Избегайте избыточного цитирования. Я поправил последнее сообщение.</span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-03-26T13:58:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81228#p81228</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81225#p81225" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>vip.emirates</strong>, у нас принято использовать заглавные буквы и знаки препинания, исправьте свои посты.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-03-26T12:38:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81225#p81225</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81222#p81222" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><p>Код оформляется тегом [ code ] <em>твой_код</em> [ /code ] (Без пробелов)<br />Исправь первый пост.</p></blockquote></div><p> Ок, исправил.</p>]]></content>
			<author>
				<name><![CDATA[vip.emirates]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31989</uri>
			</author>
			<updated>2014-03-26T10:37:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81222#p81222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81221#p81221" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>1::
Loop
{
   GetKeyState, state, 1
   if state = U
      break
   sleep 100
   SoundBeep
   PixelGetColor, color , 400 , 557
   if (color = 0x1B2195) {
      ControlSend,,Q, World of Warcraft ; кнопка А
      Continue
   }
   PixelGetColor, color , 470 , 559
   if (color = 0xF0DDCA) {
      ControlSend,,3, World of Warcraft ;  кнопка Б
      Continue
   }
   PixelGetColor, color , 507 , 561
   if color = 0x2D1F27
      ControlSend,,F, World of Warcraft ;  кнопка С
}
</code></pre></div><p>Код оформляется тегом [ code ] <em>твой_код</em> [ /code ] (Без пробелов)<br />Исправь первый пост.</p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2014-03-26T10:20:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81221#p81221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81218#p81218" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><p><strong>vip.emirates</strong>, сначала нужно &quot;довести до ума&quot; название темы. О том, как правильно назвать тему, можно прочитать <a href="http://forum.script-coding.com/viewtopic.php?id=5421">здесь</a>.</p></blockquote></div><p> Ок.</p>]]></content>
			<author>
				<name><![CDATA[vip.emirates]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31989</uri>
			</author>
			<updated>2014-03-26T08:57:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81218#p81218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81217#p81217" />
			<content type="html"><![CDATA[<p><strong>vip.emirates</strong>, сначала нужно &quot;довести до ума&quot; название темы. О том, как правильно назвать тему, можно прочитать <a href="http://forum.script-coding.com/viewtopic.php?id=5421">здесь</a>.</p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2014-03-26T08:44:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81217#p81217</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Задать приоритет нажатия кнопок]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=81216#p81216" />
			<content type="html"><![CDATA[<p>Описание -- в игре есть 3 иконки (пикселя) допустим А Б С к ним привязан скрипт.</p><p>картинка А Б С появляются в случайное время но интервал у них допустим 5 секунд</p><p>Скрипт чекает пиксель и жмет кнопку нужную, всё просто, НО нужно сделать так, что бы если появляется и А и Б или А и С или Б и С или все сразу, не важно приоритет отдавался ТОЛЬКО к А. нету А, жмет Б или С, есть А то приоритет идет А остальные не нажимаются даже если активны. Надеюсь проблему описал подробно <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><div class="codebox"><pre><code> 1::
Loop
{
GetKeyState, state, 1
if state = U
break

PixelGetColor, color , 400 , 557
if color = 0x1B2195
ControlSend,,Q, World of Warcraft ; кнопка А

PixelGetColor, color , 470 , 559
if color = 0xF0DDCA
ControlSend,,3, World of Warcraft ;  кнопка Б

PixelGetColor, color , 507 , 561
if color = 0x2D1F27
ControlSend,,F, World of Warcraft ;  кнопка С

sleep 100
}
 </code></pre></div><p>Помогите подправить.</p>]]></content>
			<author>
				<name><![CDATA[vip.emirates]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31989</uri>
			</author>
			<updated>2014-03-26T08:09:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=81216#p81216</id>
		</entry>
</feed>
