<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: при зажатии левой кнопки мышки - выполняется 2а действия]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5692&amp;type=atom" />
	<updated>2011-04-03T13:15:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5692</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: при зажатии левой кнопки мышки - выполняется 2а действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47342#p47342" />
			<content type="html"><![CDATA[<p>Да, софт, говорят, может мешать. В справке вроде советуют удалять его.</p><p>Попробуйте так:<br /></p><div class="codebox"><pre><code>LButton::
   SendInput, {Click Middle Down}
   While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
      SendInput, {Click}
      Sleep, 100
   }
   SendInput, {Click Middle Up}
   Return</code></pre></div><p>Или так:<br /></p><div class="codebox"><pre><code>LButton::
   SendInput, {Click Middle Down}
   While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
      SendInput, {Click Down}
      Sleep, 50
      SendInput, {Click Up}
      Sleep, 50
   }
   SendInput, {Click Middle Up}
   Return</code></pre></div><p>Или так:<br /></p><div class="codebox"><pre><code>LButton::
   Send, {MButton Down}
   While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
      Send, {LButton Down}
      Sleep, 50
      Send, {LButton Up}
      Sleep, 50
   }
   Send, {MButton Up}
   Return</code></pre></div><p>Или так:<br /></p><div class="codebox"><pre><code>LButton::
   SendPlay, {MButton Down}
   While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
      SendPlay, {LButton Down}
      Sleep, 50
      SendPlay, {LButton Up}
      Sleep, 50
   }
   SendPlay, {MButton Up}
   Return</code></pre></div><p>Ну а с Delete ту же кучу вариантов можно попробовать. Все, наверно, не буду писать. Вот для примера:<br /></p><div class="codebox"><pre><code>LButton::
   SendInput, {Del Down}
   While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
      SendInput, {Click}
      Sleep, 100
   }
   SendInput, {Del Up}
   Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2011-04-03T13:15:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47342#p47342</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: при зажатии левой кнопки мышки - выполняется 2а действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47341#p47341" />
			<content type="html"><![CDATA[<p>Хотя может быть конфликт из-за мышки.(она игровая с софтом) </p><p>Возможно изменить условие . при удержании ЛКМ -удерживается (Delete) + спам кликов ЛКМ . </p><p>Уважаемый разработчик модифицируйте пожалуста ваш предыдущий скрипт.</p>]]></content>
			<author>
				<name><![CDATA[anim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26871</uri>
			</author>
			<updated>2011-04-03T13:01:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47341#p47341</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: при зажатии левой кнопки мышки - выполняется 2а действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47340#p47340" />
			<content type="html"><![CDATA[<p>нет невыходит. удержание есть но кликов нету. и удержание сбрасывается иногда.</p>]]></content>
			<author>
				<name><![CDATA[anim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26871</uri>
			</author>
			<updated>2011-04-03T12:54:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47340#p47340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: при зажатии левой кнопки мышки - выполняется 2а действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47339#p47339" />
			<content type="html"><![CDATA[<p>Так не сработает?<br /></p><div class="codebox"><pre><code>LButton::
   Click Middle Down
   While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
      SendInput, {Click}
      Sleep, 100
   }
   Click Middle Up
   Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2011-04-03T12:44:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47339#p47339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: при зажатии левой кнопки мышки - выполняется 2а действия]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=47337#p47337" />
			<content type="html"><![CDATA[<p>Ребята,привет. Вообщем просьба такая) напишите пожалуйста скрипт . Суть такова - при удержании Левой кнопки мышки ,Удерживалась бы Средняя кнопка мышки + кликала Левая кнопка мышки(100 мсек)). </p><p>буду очень признателен.</p><p>нашол вот такой скрипт </p><div class="codebox"><pre><code>LButton::
   While GetKeyState(&quot;LButton&quot;, &quot;P&quot;)
   {
      SendInput, {Click}
      Sleep, 100
   }
   Return</code></pre></div><p>тут идёт при удержании ЛКМ спам Кликов)) как бы половина скрипта есть) но вот в него бы ещё впихнуть и удерживание Средней кнопки мышки(middle) / Главное чтоб при удержании ЛКМ тоже удерживалась СКМ +кликала ЛКМ</p>]]></content>
			<author>
				<name><![CDATA[anim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26871</uri>
			</author>
			<updated>2011-04-03T12:13:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=47337#p47337</id>
		</entry>
</feed>
