<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=17172&amp;type=atom" />
	<updated>2022-06-11T06:35:24Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=17172</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Остановить алгоритм по истечению времени]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153513#p153513" />
			<content type="html"><![CDATA[<p>Не забывайте про точки в конце предложения.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2022-06-11T06:35:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153513#p153513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Остановить алгоритм по истечению времени]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153512#p153512" />
			<content type="html"><![CDATA[<p><strong>Phoenixxx_Czar</strong> спасибо</p>]]></content>
			<author>
				<name><![CDATA[wuzhou]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42583</uri>
			</author>
			<updated>2022-06-11T06:11:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153512#p153512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Остановить алгоритм по истечению времени]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153511#p153511" />
			<content type="html"><![CDATA[<p>Вопрос в чем? Как определить, сколько прошло времени? Если да, вам нужно &quot;A_TickCount&quot;:<br /></p><div class="codebox"><pre><code>Q::
is_pressing := 0   
return


E::
is_pressing := 1
time := A_TickCount
while (is_pressing &amp;&amp; (A_TickCount - time) &lt;= 20500) {
        send, {LButton}
}
is_pressing := 0
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2022-06-11T06:02:33Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153511#p153511</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Остановить алгоритм по истечению времени]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153510#p153510" />
			<content type="html"><![CDATA[<p>Привет. При нажатии клавиши Е, LButton должен спамить нажатием на протяжении 20.5 секунд (20500 мл. сек.), после - его останавливать. <br />Q - остановка скрипта, для непредвиденных ситуаций.</p><div class="codebox"><pre><code>Q::
is_pressing := 0   
return


E::
is_pressing := 1  
while (is_pressing) {
        send, {LButton}
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[wuzhou]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42583</uri>
			</author>
			<updated>2022-06-11T05:17:11Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153510#p153510</id>
		</entry>
</feed>
