<?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=7344&amp;type=atom" />
	<updated>2012-07-13T19:46:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7344</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: назначение хоткея ЛКМ при нажатой ПКМ и наоборот]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=61554#p61554" />
			<content type="html"><![CDATA[<p>Проблема - перестало работать перетаскивание правой кнопкой мыши <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /><br />Как только ПКМ отжимается - это вызывает стандартное действие. Можно ли заблокировать (или отключить) это действие при условии, что одновременно нажата еще одна кнопка?<br />------<br />Может использовать <strong>broken presses</strong>? Взял отсюда <a href="http://www.autohotkey.com/community/viewtopic.php?t=84231">3. Repeat while pressed</a><br /></p><div class="codebox"><pre><code>
Send {RButton down}
Send {LButton up}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-07-13T19:46:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=61554#p61554</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: назначение хоткея ЛКМ при нажатой ПКМ и наоборот]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=61550#p61550" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;)
    LButton::Send, {F10}</code></pre></div><p>При отжатии ПКМ - происходит вызов контекстного меню. В другом скрипте (спасибо teadrinker) эта проблема обходится. <br />Может тоже использовать <strong>KeyWait</strong>?<br /></p><div class="codebox"><pre><code>KeyWait</code></pre></div><p><strong>Update</strong>:<br />похоже получилось <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="codebox"><pre><code>
#If GetKeyState(&quot;RButton&quot;, &quot;P&quot;)
    LButton::Send, {F10}
#If
RButton::
    KeyWait, RButton
    If (A_ThisHotkey = A_ThisLabel)
        Click R
    return</code></pre></div><p>Осталось проверить, как эта штука работает при сворачивании окна.</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-07-13T19:07:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=61550#p61550</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: назначение хоткея ЛКМ при нажатой ПКМ и наоборот]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=61545#p61545" />
			<content type="html"><![CDATA[<p>Из-за появления контекстного меню я использую обратную комбинацию клавиш - ~LButton &amp; RButton</p><p>C Вин7 ни чем помочь не могу - не стоит, а про артефакты - опишите их.</p><div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>А зачем здесь</p><div class="codebox"><pre><code>WinGetActiveTitle, ActiveWinTitle</code></pre></div><p>?</p></blockquote></div><p>Согласен. Эта строчка не нужна.Подумал одно, прочитал, подумал другое, а первое не исправил</p>]]></content>
			<author>
				<name><![CDATA[Mikki]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5905</uri>
			</author>
			<updated>2012-07-13T13:47:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=61545#p61545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: назначение хоткея ЛКМ при нажатой ПКМ и наоборот]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=61544#p61544" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mikki пишет:</cite><blockquote><div class="codebox"><pre><code>WinGetActiveTitle, ActiveWinTitle 
~RButton &amp; LButton:: WinMinimize, A  ; осворачивает активное окно</code></pre></div></blockquote></div><p>Работает, но через раз может открываться контекстное меню <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /><br />Еще наблюдаю такой интересный момент: искажение кнопки Пуск на win7, а на ХР странные артефакты на рабочем столе<br />----------<br />Не получается назначить хоткей данной комбинации.</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-07-13T12:29:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=61544#p61544</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: назначение хоткея ЛКМ при нажатой ПКМ и наоборот]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=61535#p61535" />
			<content type="html"><![CDATA[<p>А зачем здесь</p><div class="codebox"><pre><code>WinGetActiveTitle, ActiveWinTitle</code></pre></div><p>?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2012-07-13T10:35:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=61535#p61535</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: назначение хоткея ЛКМ при нажатой ПКМ и наоборот]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=61531#p61531" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>~RButton &amp; LButton:: WinMinimize, A  ; осворачивает активное окно</code></pre></div><p>откорректировал согласно замечаниям <strong>teadrinker</strong>-а</p>]]></content>
			<author>
				<name><![CDATA[Mikki]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5905</uri>
			</author>
			<updated>2012-07-13T09:30:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=61531#p61531</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: назначение хоткея ЛКМ при нажатой ПКМ и наоборот]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=61521#p61521" />
			<content type="html"><![CDATA[<p>Наверняка уже есть такой скрипт. Можно ли сюда повесить еще сворачивание любого активного приложения? Например, удерживаем ПКМ и жмем ЛКМ - активное окно свернулось.</p>]]></content>
			<author>
				<name><![CDATA[Xwansu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27590</uri>
			</author>
			<updated>2012-07-12T23:30:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=61521#p61521</id>
		</entry>
</feed>
