<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Блокировка двойного клика мышкой]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=6284</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6284&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Блокировка двойного клика мышкой».]]></description>
		<lastBuildDate>Wed, 05 Oct 2011 12:15:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52193#p52193</link>
			<description><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Знак <strong>$</strong> перед LButton не нужен, т. к. «<a href="http://script-coding.com/AutoHotkey/Hotkeys.html">префикс $ является эквивалентом использования команды #UseHook</a>», а все «<a href="http://script-coding.com/AutoHotkey/UseHook.html">горячие клавиши мыши ... используют хук мыши</a>».</p></blockquote></div><p>Спасибо, учту.<br />Кстати, есть ещё очень хороший способ- установка собственного обработчика. В этом случае нам не нужно будет ставить никаких хуков, более того- можно будет даже завершить работу скрипта. К сожалению сейчас нет времени для написания примера, сделаю это позже.</p>]]></description>
			<author><![CDATA[null@example.com (Александр_)]]></author>
			<pubDate>Wed, 05 Oct 2011 12:15:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52193#p52193</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52182#p52182</link>
			<description><![CDATA[<p>Благодарю за помощь, идеи понял, буду работать.</p>]]></description>
			<author><![CDATA[null@example.com (vipigor)]]></author>
			<pubDate>Wed, 05 Oct 2011 10:18:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52182#p52182</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52169#p52169</link>
			<description><![CDATA[<p>Сие результат, банальной не внимательности, я убирал префикс у <em>хоткея</em>, но забыл видимо убрать его из условия. Опробовал - не работает, вернул назад. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (Grey)]]></author>
			<pubDate>Tue, 04 Oct 2011 16:42:28 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52169#p52169</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52166#p52166</link>
			<description><![CDATA[<p>Знак <strong>$</strong> перед LButton не нужен, т. к. «<a href="http://script-coding.com/AutoHotkey/Hotkeys.html">префикс $ является эквивалентом использования команды #UseHook</a>», а все «<a href="http://script-coding.com/AutoHotkey/UseHook.html">горячие клавиши мыши ... используют хук мыши</a>».</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 04 Oct 2011 13:30:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52166#p52166</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52164#p52164</link>
			<description><![CDATA[<div class="codebox"><pre><code>#IfWinActive, ahk_group ACDSee
GroupAdd, ACDSee, ahk_class QVMainFrame-ACDSEE90
GroupAdd, ACDSee, ahk_class QVMainFrame-ACDSeePro30

$LButton::
   If (A_TimeSincePriorHotkey &lt;= 250
   And A_PriorHotkey = &quot;$LButton&quot;)
      Return
   Else
      Click,, D
   KeyWait, LButton
   Click,, U
   Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Grey)]]></author>
			<pubDate>Tue, 04 Oct 2011 12:15:25 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52164#p52164</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52163#p52163</link>
			<description><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p><strong>Александр_</strong>, существуют переменные <em>A_PriorHotkey</em> и <em>A_TimeSincePriorHotkey</em>.</p></blockquote></div><p>Ага, но ими тут не обойтись. Дело в том, что между щелчками мыши могут быть нажаты клавиши на клавиатуре. Кстати, по-хорошему тут бы надо ещё и координаты отслеживать, ведь два клика в разных местах с интервалом меньше чем DoubleClickTime не считаются двойным кликом <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> . Пусть это будет домашним заданием для ТС <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (Александр_)]]></author>
			<pubDate>Tue, 04 Oct 2011 11:59:57 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52163#p52163</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52161#p52161</link>
			<description><![CDATA[<p><strong>Александр_</strong>, существуют переменные <em>A_PriorHotkey</em> и <em>A_TimeSincePriorHotkey</em>.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 04 Oct 2011 11:43:52 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52161#p52161</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52160#p52160</link>
			<description><![CDATA[<div class="quotebox"><cite>vipigor пишет:</cite><blockquote><p>Не знаю как решить задачу блокировки в приложении (ACDSee) двойного клика ЛКМ. При случайном двойном клике открывается окно Quick Start Quide, что совсем не нужно. Помогите пожалуйста начинающему пользователю. Заранее спасибо.</p></blockquote></div><p>Пример скрипта, блокирующего двойной клик в блокноте. См. комментарии в коде.<br /></p><div class="codebox"><pre><code>; получаем интервал двойного клика
DoubleClickTime := DllCall(&quot;GetDoubleClickTime&quot;)
; в этой переменной будет лежать время последнего щелчка
LastClick := 0
return

$LButton::
   ; получаем класс окна, по которому произвели щелчок
   WinGetClass, class, A
   ; если это &quot;Notepad&quot;, то продолжаем обработку, иначе посылаем окну щелчок
   if (class=&quot;Notepad&quot;)
   {
      ; запоминаем время щелчка
      NewClick := A_TickCount
      ; если интервал двойного клика уже прошёл, то посылаем клик нашему окну
      if (NewClick-LastClick&gt;DoubleClickTime)
         Send {LButton}
      ; обновляем время последнего клика
      LastClick := NewClick
   }
   else
      Send {LButton}
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Александр_)]]></author>
			<pubDate>Tue, 04 Oct 2011 11:39:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52160#p52160</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Блокировка двойного клика мышкой]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=52155#p52155</link>
			<description><![CDATA[<p>День добрый.</p><p>Не знаю как решить задачу блокировки в приложении (ACDSee) двойного клика ЛКМ. При случайном двойном клике открывается окно Quick Start Quide, что совсем не нужно. Помогите пожалуйста начинающему пользователю. Заранее спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (vipigor)]]></author>
			<pubDate>Tue, 04 Oct 2011 09:42:51 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=52155#p52155</guid>
		</item>
	</channel>
</rss>
