<?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=16935&amp;type=atom" />
	<updated>2022-02-01T21:58:28Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=16935</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как написать скрипт правильно? Подскажите пожалуйста!]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151942#p151942" />
			<content type="html"><![CDATA[<p><strong>Hrapodav</strong>, добро пожаловать на форум! Ознакомьтесь, пожалуйста, с <a href="https://forum.script-coding.com/misc.php?action=rules">Правилами</a>, отредактируйте свой пост. Обратите внимание на оформление <a href="https://forum.script-coding.com/misc.php?action=rules#code-formatting">кода</a>, заглавные <a href="https://forum.script-coding.com/misc.php?action=rules#literacy">буквы</a> в начале и точки в конце предложений.<br />Скрипты для игр должны быть в этой ветке.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-02-01T21:58:28Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151942#p151942</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как написать скрипт правильно? Подскажите пожалуйста!]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151940#p151940" />
			<content type="html"><![CDATA[<p>$*vk46::<br />&nbsp; &nbsp; If isKeyPressed := !isKeyPressed&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; SetTimer, SendA, 40		<br />&nbsp; &nbsp; Else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; SetTimer, SendA, Off&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; Send {vk46 Up}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; KeyWait vk46&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; return</p><p>SendA:&nbsp; &nbsp;<br />&nbsp; &nbsp; Send {vk46 Down}<br />&nbsp; &nbsp; return</p><p>$*vk59::<br />&nbsp; &nbsp; If isKeyPressed := !isKeyPressed&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; SetTimer, SendB, 40		<br />&nbsp; &nbsp; Else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; SetTimer, SendB, Off&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; Send {vk59 Up}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; KeyWait vk59&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; return</p><p>SendB:&nbsp; &nbsp;<br />&nbsp; &nbsp; Send {vk59 Down}<br />&nbsp; &nbsp; return<br />Этот код не работает в игре правильно..<br />Работает такого плана НО постоянно флудит пока его не выключишь..</p><br /><p>!W::<br />Loop<br />{<br />Send, {W}<br />sleep 80<br />Send, {W}<br />sleep 80<br />Send, {W}<br />sleep 80<br />Send, {W}<br />sleep 80<br />Send, {W}<br />sleep 80<br />Send, {W}<br />sleep 80<br />Send, {W}<br />sleep 80<br />}<br />Return</p><p>End::<br />это на одну кнопку а нужно на две</p>]]></content>
			<author>
				<name><![CDATA[Hrapodav]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42328</uri>
			</author>
			<updated>2022-02-01T21:55:45Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151940#p151940</id>
		</entry>
</feed>
