<?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=7968&amp;type=atom" />
	<updated>2013-01-11T16:11:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7968</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: клик мышкой]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=68409#p68409" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#NoTrayIcon
#MaxHotkeysPerInterval 9999
XButton1 &amp; LButton::
XButton1 &amp; RButton::
   X := Substr(A_ThisHotKey, 12,1)
   KeyWait, %X%Button
   while !GetKeyState(X &quot;Button&quot;, &quot;P&quot;) {
      Click %X%
      Sleep 1
   }
Return
; далее по тексту 
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-01-11T16:11:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=68409#p68409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: клик мышкой]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=68407#p68407" />
			<content type="html"><![CDATA[<p>Пользовался скриптом, который по нажатию первой дополнительной кнопки мыши + R\L кнопка мыши спамил кликами, и выключался по нажатию соответствующей кнопкик мыши:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;код АНК</div><div class="fancy_spoiler"><div class="codebox"><pre><code>#NoTrayIcon
#MaxHotkeysPerInterval 9999
XButton1 &amp; LButton::
Sleep 30
Loop
{
GetKeyState, state, LButton, P
if state = D
Break
    Click
    Sleep 1
}
Return
XButton1 &amp; RButton::
Sleep 30
Loop
{
GetKeyState, state, RButton, P
if state = D
Break
    Click Right
    Sleep 1
}
Return
XButton2 &amp; lButton::
   Click down
Return
XButton2 &amp; RButton::
   Click Right down
Return
!^+2::ExitApp
</code></pre></div></div></div><p>но вчера он перестал работать.<br />Та часть где используется вторая дополнительная кнопка мыши работает.<br />С компьютером никаких действий не производилось, АНК не обновлял, кодировка UTF-8(пробовал менять, не помогло)<br />Мышь рабочая.<br />Что можно сделать что-бы он заработал?</p>]]></content>
			<author>
				<name><![CDATA[Nikva]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27416</uri>
			</author>
			<updated>2013-01-11T15:32:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=68407#p68407</id>
		</entry>
</feed>
