<?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=11687&amp;type=atom" />
	<updated>2016-06-09T16:09:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11687</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не работает кнопка при запущенном скрипте.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105036#p105036" />
			<content type="html"><![CDATA[<p>У меня на уме подобный костыль, но получается что RButton залипает в нажатом состоянии. Как то обсуждалось, но не понятно как отпустить RButton без прохождения в систему. <br /></p><div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;)
WheelUp::
	Hotkey, RButton Up, RButtonUpOff, On
	ToolTip WheelUp 
	Return
#If

RButtonUpOff:
	Hotkey, RButton Up, RButtonUpOff, Off
	Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-06-09T16:09:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105036#p105036</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не работает кнопка при запущенном скрипте.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=105033#p105033" />
			<content type="html"><![CDATA[<p>Простым способом как то это нестабильно работает.<br />Вот костыль. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="codebox"><pre><code>RButton::WhUp:=true,	WhUpPress:=false

RButton Up::
	WhUp:=false
	IfEqual,WhUpPress,0,SendInput {RButton}
	return

#if WhUp
	WheelUp::
	WhUpPress:=True
	SendInput {home}
	return
#if</code></pre></div><p>И вот тоже самое, но жатое:<br /></p><div class="codebox"><pre><code>RButton::WhUp:=true,	WhUpPress:=false

RButton Up::IfEqual,WhUpPress,% WhUp:=false,SendInput {RButton}

#if WhUp
	WheelUp::IfEqual,WhUp,% WhUpPress:=True,SendInput {home}
#if
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2016-06-09T15:32:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=105033#p105033</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не работает кнопка при запущенном скрипте.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104911#p104911" />
			<content type="html"><![CDATA[<p>Спасибо, а можно сделать так, чтобы после &quot;отжатия&quot; RButton не срабатывала? Тоесть что бы контекстное меню не появлялось, если при зажатой RButton было прокручено колесо.</p>]]></content>
			<author>
				<name><![CDATA[dhgGR^$446789ghf]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33956</uri>
			</author>
			<updated>2016-06-07T19:55:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104911#p104911</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не работает кнопка при запущенном скрипте.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104909#p104909" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>dhgGR^$446789ghf</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, отредактируйте заголовок.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-06-07T19:44:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104909#p104909</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не работает кнопка при запущенном скрипте.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104904#p104904" />
			<content type="html"><![CDATA[<p>-</p>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2016-06-07T19:37:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104904#p104904</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Не работает кнопка при запущенном скрипте.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=104896#p104896" />
			<content type="html"><![CDATA[<p>Я общей темы с простыми вопросами не нашел, пришлось новую создать.</p><div class="codebox"><pre><code>rbutton &amp; WheelUp::send {home}</code></pre></div><p>Если запустить скрипт с таким кодом, правая кнопка мыши перестает функционировать, как мне это преодолеть?</p>]]></content>
			<author>
				<name><![CDATA[dhgGR^$446789ghf]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33956</uri>
			</author>
			<updated>2016-06-07T18:52:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=104896#p104896</id>
		</entry>
</feed>
