<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: LWin+Click=Right click?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6003&amp;type=atom" />
	<updated>2011-07-15T03:27:17Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6003</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49865#p49865" />
			<content type="html"><![CDATA[<p>Вот так будет проще разобраться.</p><div class="codebox"><pre><code>#UseHook
Lwin::
  RbState := !RbState
  If RbState
    ToolTip Rbutton
  else
    ToolTip Lbutton
  sleep 100
  ToolTip
return
 
*Lbutton::
  If RbState
    Send {blind}{Rbutton down}
  else
    Send {blind}{Lbutton down}
return

Lbutton up::
  If RbState
    Send {Rbutton up}
  else
    Send {Lbutton up}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2011-07-15T03:27:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49865#p49865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49863#p49863" />
			<content type="html"><![CDATA[<p><strong>InFlames</strong></p><p>Большое спасибо, все получилось!</p><p>Попробую разобраться, как работает код <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Ramber]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27083</uri>
			</author>
			<updated>2011-07-14T18:41:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49863#p49863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49857#p49857" />
			<content type="html"><![CDATA[<p>Видимо никак.<br />Разве что использовать ее в таком же ключе, как капслок для переключения регистра.<br />По-умолчанию посылается Lbutton. Если нажать Lwin и отпустить, будет посылаться Rbutton. Если нажать Lwin еще раз, будет посылаться Lbutton.</p><div class="codebox"><pre><code>
#UseHook
Lwin::
  ToolTip % (RbState := !RbState) ? &quot;Rbutton&quot; : &quot;Lbutton&quot;
  sleep 100
  ToolTip
return

*Lbutton::Send % &quot;{blind}{&quot; . ( RbState ? &quot;Rbutton&quot; : &quot;LButton&quot; ) . &quot; down}&quot;
Lbutton up::Send % &quot;{&quot; . ( RbState ? &quot;Rbutton&quot; : &quot;LButton&quot; ) . &quot; up}&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2011-07-14T15:04:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49857#p49857</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49855#p49855" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>InFlames пишет:</cite><blockquote><p>Так не пробовали?</p></blockquote></div><p>Кажется я понял в чем косяк аппаратной кнопки. Она при нажатии не генерит вообще ничего, а при отпускании сразу DOWN и UP.</p><p>Подскажите, пожалуйста, как в таком случае&nbsp; эту кнопку можно использовать в качестве триггера, переключающего LButton на RRutton и обратно.</p>]]></content>
			<author>
				<name><![CDATA[Ramber]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27083</uri>
			</author>
			<updated>2011-07-14T13:20:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49855#p49855</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49853#p49853" />
			<content type="html"><![CDATA[<p>Так не пробовали?<br /></p><div class="codebox"><pre><code>
*Lbutton::
if getkeystate(&quot;LWIN&quot;, &quot;P&quot;)
  msgbox LWIN нажат
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[InFlames]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24849</uri>
			</author>
			<updated>2011-07-14T12:49:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49853#p49853</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49849#p49849" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p><a href="http://forum.script-coding.com/viewtopic.php?id=5690">Вот</a> один способ.</p></blockquote></div><p>Попробовал. Показывает LWin.</p><p>А есть ли возможность с помощью &quot;IF&quot; отследить нажатия LWin?</p><p>Может как-то так?<br /></p><div class="codebox"><pre><code>#if LWINDOWN
 Lbutton::RButton</code></pre></div><p>(этот код ошибок не выдает, но и не работает)</p>]]></content>
			<author>
				<name><![CDATA[Ramber]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27083</uri>
			</author>
			<updated>2011-07-14T10:40:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49849#p49849</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49842#p49842" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=5690">Вот</a> один способ.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-07-13T19:37:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49842#p49842</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49841#p49841" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><div class="codebox"><pre><code>LWin &amp; LButton:: Click Right</code></pre></div></blockquote></div><p>Видимо какой-то глюк моего девайса. На USB-клавиатуре работает отлично, а с аппаратной кнопкой нет ((((</p><p>А есть ли способ посмотреть коды нажимаемых клавиш?</p>]]></content>
			<author>
				<name><![CDATA[Ramber]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27083</uri>
			</author>
			<updated>2011-07-13T19:16:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49841#p49841</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49840#p49840" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>LWin &amp; LButton:: Click Right</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-07-13T19:05:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49840#p49840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49838#p49838" />
			<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>2011-07-13T18:57:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49838#p49838</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49837#p49837" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><div class="codebox"><pre><code>#Lbutton::RButton</code></pre></div><p>И так пробовали?</p></blockquote></div><p>Да. Никаких изменений.((((</p><p>Из всего что попробовал единственное, что работает</p><div class="codebox"><pre><code>LWin::Click right</code></pre></div><p>но это не совсем то, что нужно.</p>]]></content>
			<author>
				<name><![CDATA[Ramber]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27083</uri>
			</author>
			<updated>2011-07-13T18:49:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49837#p49837</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49835#p49835" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#Lbutton::RButton</code></pre></div><p>И так пробовали?</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2011-07-13T17:43:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49835#p49835</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: LWin+Click=Right click?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=49834#p49834" />
			<content type="html"><![CDATA[<p>Задача такова:<br />Есть планшетник с одной аппаратной кнопкой LWin. Хочется на комбинацию LWin+Click повесить правый клик.</p><br /><p>Перерыл весь хелп, почитал форум, перепробовал все что нашел - безрезультатно ((</p>]]></content>
			<author>
				<name><![CDATA[Ramber]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27083</uri>
			</author>
			<updated>2011-07-13T13:21:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=49834#p49834</id>
		</entry>
</feed>
