<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: подмена средней кнопки мыши сочетанием Ctrl+Shift+Right Mouse But]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8988&amp;type=atom" />
	<updated>2013-12-09T12:07:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8988</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: подмена средней кнопки мыши сочетанием Ctrl+Shift+Right Mouse But]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77935#p77935" />
			<content type="html"><![CDATA[<p>Для работы в конкретном приложении используй <a href="http://www.script-coding.com/AutoHotkey/IfWinActive.html">контекстно-чувствительные горячие клавиши</a>.</p><p>Цикл использовать излишне, для ожидания отжатия/нажатия клавиши существует <a href="http://www.script-coding.com/AutoHotkey/KeyWait.html">KeyWait</a><br /></p><div class="codebox"><pre><code>MButton::
Send, {CTRLDOWN}{SHIFTDOWN}{RButton down}
KeyWait, MButton
Send, {CTRLUP}{SHIFTUP}{RButton up}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-12-09T12:07:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77935#p77935</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: подмена средней кнопки мыши сочетанием Ctrl+Shift+Right Mouse But]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77933#p77933" />
			<content type="html"><![CDATA[<p>Кое-как написал вот такой код. Работает.<br /></p><div class="codebox"><pre><code>MButton::
Send, {CTRLDOWN}{SHIFTDOWN}{RButton down}
loop
{
   if not GetKeyState(&quot;MButton&quot;, &quot;P&quot;)
   {
      Send, {CTRLUP}{SHIFTUP}{RButton up}
      break
   }
   Sleep, 100
}
Return</code></pre></div><p>Может кто-то подскажет, как теперь сделать, чтоб код работал только когда запущено приложение Visio? и вообще, верен ли код или есть более правильные решения?</p>]]></content>
			<author>
				<name><![CDATA[9rey]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31338</uri>
			</author>
			<updated>2013-12-09T10:51:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77933#p77933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: подмена средней кнопки мыши сочетанием Ctrl+Shift+Right Mouse But]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=77929#p77929" />
			<content type="html"><![CDATA[<p>Здравствуйте!<br />Нужно в MS Visio подменить нажатие и удержание средней кнопки мыши на нажатие и удержание комбинации Ctrl+Shift+Правая Кнопка Мыши.<br />Во время этого нажатия пользователь двигает чертеж (похоже на инструмент &quot;рука&quot; в большинстве программ).</p>]]></content>
			<author>
				<name><![CDATA[9rey]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31338</uri>
			</author>
			<updated>2013-12-09T07:09:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=77929#p77929</id>
		</entry>
</feed>
