<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; Двойной клик мыши или клик+другая кнопка]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=10274&amp;type=atom" />
	<updated>2014-12-25T12:49:17Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=10274</id>
		<entry>
			<title type="html"><![CDATA[Re: Двойной клик мыши или клик+другая кнопка]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=89774#p89774" />
			<content type="html"><![CDATA[<p>так работает только двойной клик, проверьте, пожалуйста</p><div class="codebox"><pre><code>~RButton::
if (A_PriorHotkey &lt;&gt; &quot;~RButton&quot; or A_TimeSincePriorHotkey &gt; 200)
{
  KeyWait, RButton
  Return
}
      Send, {6}
return

if (A_PriorHotkey &lt;&gt; &quot;~LButton&quot; or A_TimeSincePriorHotkey &gt; 200)
{
  KeyWait, RButton
  Return
}
      Send, {8}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Luxurianty]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=32765</uri>
			</author>
			<updated>2014-12-25T12:49:17Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=89774#p89774</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Двойной клик мыши или клик+другая кнопка]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=89769#p89769" />
			<content type="html"><![CDATA[<p>Да, конечно.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-12-25T10:20:19Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=89769#p89769</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Двойной клик мыши или клик+другая кнопка]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=89768#p89768" />
			<content type="html"><![CDATA[<p>У меня в этом же скрипте на ПКМ тоже стоит двойной клик и отправляет &quot;6&quot;, можно в него добавить условие о котором вы говорите?</p><div class="codebox"><pre><code>
~LButton::
if (A_PriorHotkey &lt;&gt; &quot;~LButton&quot; or A_TimeSincePriorHotkey &gt; 230)
{
  KeyWait, LButton
  Return
}
      Send, {7}
return

~RButton::
if (A_PriorHotkey &lt;&gt; &quot;~RButton&quot; or A_TimeSincePriorHotkey &gt; 200)
{
  KeyWait, RButton
  Return
}
      Send, {6}
return
</code></pre></div><p>Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Luxurianty]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=32765</uri>
			</author>
			<updated>2014-12-25T10:03:56Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=89768#p89768</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Двойной клик мыши или клик+другая кнопка]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=89742#p89742" />
			<content type="html"><![CDATA[<p>Вам нужно по нажатию ПКМ проверять условие: если предыдущая нажатая гор. клавиша - ЛКМ и время, прошедшее с нажатия предыдущей гор. клавиши более 230 мс, то...</p><p>Встроенная переменная A_TimeSincePriorHotkey в помощь.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-12-24T12:09:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=89742#p89742</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Двойной клик мыши или клик+другая кнопка]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=89730#p89730" />
			<content type="html"><![CDATA[<p>Здравствуйте!</p><p>Есть у меня рабочий скрипт для отправки цифровой клавиши (в нашем случае 7) по двойному клику левой кнопкой мыши в World of Warcraft и выглядит он вот так:</p><div class="codebox"><pre><code>~LButton::
if (A_PriorHotkey &lt;&gt; &quot;~LButton&quot; or A_TimeSincePriorHotkey &gt; 230)
{
  KeyWait, LButton
  Return
}
      Send, {7}
Return</code></pre></div><p>Задача состоит в том, чтобы добавить сюда возможность отправлять в игру также и другую цифру (скажем 8), кликая сначала на левую кнопку, потом быстро на правую, т.е. сымитировать двойной клик двумя разными кнопками. И все для того, чтобы я мог быстро отправить в игру или 7 или 8 по своему выбору.</p><p>Долго читал, всё на что мозгов хватило попробовал. Прошу помочь.</p>]]></content>
			<author>
				<name><![CDATA[Luxurianty]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=32765</uri>
			</author>
			<updated>2014-12-23T19:38:00Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=89730#p89730</id>
		</entry>
</feed>
