<?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=12145&amp;type=atom" />
	<updated>2016-11-11T21:58:46Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12145</id>
		<entry>
			<title type="html"><![CDATA[Re: Доработка/ оптимизация рабочего кода. (Спам клавиш)]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=109090#p109090" />
			<content type="html"><![CDATA[<p>Попробуй сделать так со всеми хоткеями, должно помочь.<br /></p><div class="codebox"><pre><code>*sc3::</code></pre></div><p>С блокировкой других кнопок, не думаю, что будет так просто.</p>]]></content>
			<author>
				<name><![CDATA[Sgy-x2]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=32753</uri>
			</author>
			<updated>2016-11-11T21:58:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=109090#p109090</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Доработка/ оптимизация рабочего кода. (Спам клавиш)]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=109089#p109089" />
			<content type="html"><![CDATA[<p>Здравствуйте, прошу помочь один вопрос. <br />Имеется код спама определенных клавиш при зажатии(вроде как работает без нареканий), НО: При нажатии другой любой клавиши, спам прописанных клавиш прекращается (клавиша все еще зажата), если это возможно, сделать так, чтоб спам не прекращался, но и не игнорировал другую нажатую клавишу.<br />П.с. спам не прекращается, если нажать лкм или пкм, хотелось бы также с клавишами на клавиатуре.<br /></p><div class="codebox"><pre><code>#IfWinActive, AION GameClient
#IfWinActive, AION Client

sc3::
   Loop
   {
      Send, {sc3}
      Sleep, 15
	  If !GetKeyState(&quot;sc3&quot;, &quot;P&quot;) 
      Break
   }
   Return
   
sc2::
   Loop
   {
      Send, {sc2}
      Sleep, 15
	  If !GetKeyState(&quot;sc2&quot;, &quot;P&quot;)
      Break
   }
   Return
   
sc14::
   Loop
   {
      Send, {sc14}
      Sleep, 15
	  If !GetKeyState(&quot;sc14&quot;, &quot;P&quot;)
      Break
   }
   Return
   
sc2F::
   Loop
   {
      Send, {sc2F}
      Sleep, 15
	  If !GetKeyState(&quot;sc2F&quot;, &quot;P&quot;)
      Break
   }
   Return
   
sc56::
   Loop
   {
      Send, {sc56}
      Sleep, 15
	  If !GetKeyState(&quot;sc56&quot;, &quot;P&quot;)
      Break
   }
   Return
   
sc2C::
   Loop
   {
      Send, {sc2C}
      Sleep, 15
	  If !GetKeyState(&quot;sc2C&quot;, &quot;P&quot;)
      Break
   }
   Return
   
sc10::
   Loop
   {
      Send, {sc10}
      Sleep, 15
	  If !GetKeyState(&quot;sc10&quot;, &quot;P&quot;) 
      Break
   }
   Return
   
sc29::
   Loop
   {
      Send, {sc29}
      Sleep, 15
	  If !GetKeyState(&quot;sc29&quot;, &quot;P&quot;) 
      Break
   }
   Return
   
sc4::
   Loop
   {
      Send, {sc4}
      Sleep, 15
	  If !GetKeyState(&quot;sc4&quot;, &quot;P&quot;) 
      Break
   }
   Return
   
sc5::
   Loop
   {
      Send, {sc5}
      Sleep, 15
	  If !GetKeyState(&quot;sc5&quot;, &quot;P&quot;) 
      Break
   }
   Return
   
sc12::
   Loop
   {
      Send, {sc12}
      Sleep, 15
	  If !GetKeyState(&quot;sc12&quot;, &quot;P&quot;) 
      Break
   }
   Return
   
   </code></pre></div>]]></content>
			<author>
				<name><![CDATA[Snape]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=34297</uri>
			</author>
			<updated>2016-11-11T20:33:46Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=109089#p109089</id>
		</entry>
</feed>
