<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Autoclick]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15801&amp;type=atom" />
	<updated>2020-11-06T19:04:37Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15801</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143283#p143283" />
			<content type="html"><![CDATA[<p><strong>pro100andrik94</strong></p><p>Спортивный интерес написать свою программу - это святое! Не мешайте.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2020-11-06T19:04:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143283#p143283</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143258#p143258" />
			<content type="html"><![CDATA[<p><strong>Botsy</strong> зачем усложнять себе жизнь если есть уже встроенный функционал для этого? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[pro100andrik94]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39412</uri>
			</author>
			<updated>2020-11-06T15:02:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143258#p143258</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143256#p143256" />
			<content type="html"><![CDATA[<p><strong>pro100andrik94</strong> Вообще появилась идея сделать кнопку, которая отслеживает клики по ней и посмотреть, каким способом можно написать максимальное количество кликов в секунду.</p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-11-06T14:56:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143256#p143256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143255#p143255" />
			<content type="html"><![CDATA[<p><strong>Botsy</strong>, так ведь ПКМ по иконке в трее -&gt; Open и в окошке что открылось View -&gt; Key history and script info<br /><span class="postimg"><img src="https://media.discordapp.net/attachments/761208649183002634/774283740054421504/unknown.png" alt="https://media.discordapp.net/attachments/761208649183002634/774283740054421504/unknown.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[pro100andrik94]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39412</uri>
			</author>
			<updated>2020-11-06T14:52:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143255#p143255</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143253#p143253" />
			<content type="html"><![CDATA[<p><strong>pro100andrik94</strong> Прикольно). Не мог проверить выше описанное, ибо как я буду отслеживать клики мышки.</p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-11-06T14:40:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143253#p143253</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143247#p143247" />
			<content type="html"><![CDATA[<p><strong>Botsy</strong>, еще поправочка, SetMouseDelay работает в loop его просто надо было объявить до первого хоткея так как вы и сделали в вашем коде.</p>]]></content>
			<author>
				<name><![CDATA[pro100andrik94]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39412</uri>
			</author>
			<updated>2020-11-06T14:01:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143247#p143247</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143246#p143246" />
			<content type="html"><![CDATA[<p><strong>Botsy</strong>, хотя сейчас попробовал и оказывается что в loop не учитывается SetMouseDelay и чтобы оно работало так то надо немного по другому написать.</p><div class="codebox"><pre><code>SetMouseDelay 50
[::Suspend
LButton::
while getkeystate(&quot;LButton&quot;, &quot;P&quot;)
{
    Sendinput, {LButton}
}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[pro100andrik94]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39412</uri>
			</author>
			<updated>2020-11-06T13:57:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143246#p143246</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143244#p143244" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>dony-pony пишет:</cite><blockquote><p>нужно исправить типа когда 1 раз нажал лкм он не нажимал 2 раз ну скрипт, а зажим не надо исправлять.</p></blockquote></div><p> <br />Так ваш скрипт работал так как вам и нужно. Вот только физический клик мышкой это всегда зажатие лкм на определенное время, а не клик. И тут уже вопрос в том насколько вы быстро отжимали лкм. Видимо вы зажимали кнопку примерно 30-60 мс и поэтому у вас и был двойной щелчек. <br /><strong>Botsy</strong>, а вот задержка как раз и была указана в коде, а именно SetMouseDelay 30 и то что вы вынесли её за цикл это хорошо ибо каждый раз объявлять в цикле нет смысла, но вот надо было просто написать SetMouseDelay, 50 и уже не ставить лишний Sleep, 50 внутрь цикла.</p>]]></content>
			<author>
				<name><![CDATA[pro100andrik94]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39412</uri>
			</author>
			<updated>2020-11-06T13:46:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143244#p143244</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143210#p143210" />
			<content type="html"><![CDATA[<p>работает, спасибо</p>]]></content>
			<author>
				<name><![CDATA[dony-pony]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41187</uri>
			</author>
			<updated>2020-11-06T07:42:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143210#p143210</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143182#p143182" />
			<content type="html"><![CDATA[<p><strong>dony-pony</strong> Не знаю будет ли работать, но вдруг.<br /></p><div class="codebox"><pre><code>
SetMouseDelay, 30

~LButton::
Loop
{
	Sleep, 50 ; например
	Click
	If (GetKeyState(&quot;LButton&quot;,&quot;P&quot;)=0)
	Break
}
return

[::Suspend
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-11-05T19:21:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143182#p143182</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143181#p143181" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>dony-pony</strong>, предложения начинаются с заглавной буквы и оканчиваются знаками препинания. Код должен быть оформлен тегом &quot;code&quot;. Исправьте!</span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2020-11-05T18:38:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143181#p143181</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143180#p143180" />
			<content type="html"><![CDATA[<p><strong>Botsy</strong> можешь переписать так я просто не шарю.</p>]]></content>
			<author>
				<name><![CDATA[dony-pony]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41187</uri>
			</author>
			<updated>2020-11-05T17:59:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143180#p143180</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143177#p143177" />
			<content type="html"><![CDATA[<p><strong>dony-pony</strong> Мб добавить задержку небольшую между кликами ? Sleep</p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-11-05T16:28:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143177#p143177</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143161#p143161" />
			<content type="html"><![CDATA[<p><strong>Botsy</strong> нужно исправить типа когда 1 раз нажал лкм он не нажимал 2 раз ну скрипт, а зажим не надо исправлять.</p>]]></content>
			<author>
				<name><![CDATA[dony-pony]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41187</uri>
			</author>
			<updated>2020-11-05T11:35:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143161#p143161</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Autoclick]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=143159#p143159" />
			<content type="html"><![CDATA[<p><strong>dony-pony</strong> Т.е. нужен скрипт, который 1 раз кликает ЛКМ, когда мы 1 раз кликаем ЛКМ ? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Botsy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41069</uri>
			</author>
			<updated>2020-11-05T11:08:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=143159#p143159</id>
		</entry>
</feed>
