<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Как работает пауза?]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11633</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11633&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Как работает пауза?».]]></description>
		<lastBuildDate>Wed, 25 May 2016 21:04:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Как работает пауза?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104237#p104237</link>
			<description><![CDATA[<div class="codebox"><pre><code>^space::
	suspend
	soundbeep
	Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 25 May 2016 21:04:42 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104237#p104237</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как работает пауза?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104236#p104236</link>
			<description><![CDATA[<p>Спасибо, а как при этом выдавать звуковой сигнал?</p><p>Вот так не работает:<br /></p><div class="codebox"><pre><code>
^space::suspend
	soundbeep 600, 400</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (grigo.alek)]]></author>
			<pubDate>Wed, 25 May 2016 20:42:08 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104236#p104236</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как работает пауза?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104229#p104229</link>
			<description><![CDATA[<p>См. команду Suspend.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Wed, 25 May 2016 19:57:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104229#p104229</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Как работает пауза?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=104224#p104224</link>
			<description><![CDATA[<p>Когда я нажимаю паузу, скрипт продолжает работать, кнопки продолжают обрабатываться.<br />А хотелось бы, чтобы после вызова паузу, Hotkeys переставали работать. После повторного нажатия на кнопку паузы, чтобы снова начинали работать. Как это реализовать?</p><div class="codebox"><pre><code>#SingleInstance force

skill_1=vk51 ;q
skill_2=vk57 ;w
skill_3=vk45 ;e
skill_4=vk44 ;d
skill_5=vk46 ;f
skill_6=vk52 ;r

number_of_uses_1=5
number_of_uses_2=5
number_of_uses_3=5
number_of_uses_4=5
number_of_uses_5=5
number_of_uses_6=5


HotKey, $%skill_1%, use_skill_1
HotKey, $%skill_2%, use_skill_2
HotKey, $%skill_3%, use_skill_3
HotKey, $%skill_4%, use_skill_4
HotKey, $%skill_5%, use_skill_5
HotKey, $%skill_6%, use_skill_6

return

use_skill_1:
	loop %number_of_uses_1% 
		send {%skill_1%}
		KeyWait % Ltrim(A_ThisHotkey,&quot;$&quot;)
return

use_skill_2:
	loop %number_of_uses_2% 
		send {%skill_2%}
		KeyWait % Ltrim(A_ThisHotkey,&quot;$&quot;)
return
		
use_skill_3:
	loop %number_of_uses_3% 
		send {%skill_3%}
		KeyWait % Ltrim(A_ThisHotkey,&quot;$&quot;)
return
		
use_skill_4:
	loop %number_of_uses_4% 
		send {%skill_4%}
		KeyWait % Ltrim(A_ThisHotkey,&quot;$&quot;)
return
		
use_skill_5:
	loop %number_of_uses_5% 
		send {%skill_5%}
		KeyWait % Ltrim(A_ThisHotkey,&quot;$&quot;)
return
		
use_skill_6:
	loop %number_of_uses_6% 
		send {%skill_6%}
		KeyWait % Ltrim(A_ThisHotkey,&quot;$&quot;)
return

^space::Pause  
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (grigo.alek)]]></author>
			<pubDate>Wed, 25 May 2016 19:30:36 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=104224#p104224</guid>
		</item>
	</channel>
</rss>
