<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; Зажатие левой клавиши мышки Помогите]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=15723&amp;type=atom" />
	<updated>2020-10-28T08:32:32Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=15723</id>
		<entry>
			<title type="html"><![CDATA[Re: Зажатие левой клавиши мышки Помогите]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=142915#p142915" />
			<content type="html"><![CDATA[<p><strong>CD_MyAcO</strong>, Вы реализовали переключатель. Автор хотел, чтобы он выключал выполнение нажатий, когда кнопку перестают нажимать.</p>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2020-10-28T08:32:32Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=142915#p142915</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Зажатие левой клавиши мышки Помогите]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=142905#p142905" />
			<content type="html"><![CDATA[<p>Тогда попробовать поиграться со sleep, попробовать убрать его, затем ставить разные значения.</p>]]></content>
			<author>
				<name><![CDATA[CD_MyAcO]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41152</uri>
			</author>
			<updated>2020-10-27T21:37:20Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=142905#p142905</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Зажатие левой клавиши мышки Помогите]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=142904#p142904" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>CD_MyAcO пишет:</cite><blockquote><p>Если там нету нигде кода где XButton1 будет = U</p></blockquote></div><p> U - это значит клавиша выключена</p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-10-27T21:28:28Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=142904#p142904</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Зажатие левой клавиши мышки Помогите]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=142903#p142903" />
			<content type="html"><![CDATA[<p><strong>qqlexa</strong><br />Я особо не понял что нужно сделать. Если надо сделать чтобы была зажата клавиша XButton1 и кликалось LButton тогда вот(1 раз нажать на бутон - вкл, 2 раз - выкл):<br /></p><div class="codebox"><pre><code>toggle := 0

~$*XButton1::
if toggle = 0
{
toggle := 1
send {XButton1 down}
SetTimer, 4, 50
}
else
{
toggle := 0
send {XButton1 up}
SetTimer, 4, off
}
return

4:
click
return</code></pre></div><p>Я не понимаю зачем в скрипте этот отрезок<br /></p><div class="codebox"><pre><code>if XButton1 = U
Break</code></pre></div><p>Если там нету нигде кода где XButton1 будет = U</p>]]></content>
			<author>
				<name><![CDATA[CD_MyAcO]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41152</uri>
			</author>
			<updated>2020-10-27T21:23:22Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=142903#p142903</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Зажатие левой клавиши мышки Помогите]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=142902#p142902" />
			<content type="html"><![CDATA[<p><strong>CD_MyAcO</strong>, смысл в том, что пока XButton1 зажата - выполняются нажатия LButton.</p>]]></content>
			<author>
				<name><![CDATA[qqlexa]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39096</uri>
			</author>
			<updated>2020-10-27T21:03:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=142902#p142902</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Зажатие левой клавиши мышки Помогите]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=142882#p142882" />
			<content type="html"><![CDATA[<p>Если вам нужно чтобы он просто кликал, тогда вот:<br /></p><div class="codebox"><pre><code>XButton1::
click
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[CD_MyAcO]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41152</uri>
			</author>
			<updated>2020-10-27T19:16:34Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=142882#p142882</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Зажатие левой клавиши мышки Помогите]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=142613#p142613" />
			<content type="html"><![CDATA[<p>есть скрипт , кнопка с боку мышки при нажатии постоянно кликает mouse1 . иногда он залипает помогите решить проблему</p><p>~$*XButton1::<br />Loop{<br />GetKeyState, XButton1, XButton1, P<br />if XButton1 = U<br />Break<br />Click<br />Sleep 50<br />}<br />return</p><p>вот скрипт</p>]]></content>
			<author>
				<name><![CDATA[Lucifergosu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=41133</uri>
			</author>
			<updated>2020-10-12T07:16:39Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=142613#p142613</id>
		</entry>
</feed>
