<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: проигрывание звука при включении и Suspende скрипта]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=5047</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5047&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: проигрывание звука при включении и Suspende скрипта».]]></description>
		<lastBuildDate>Sun, 17 Oct 2010 17:58:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: проигрывание звука при включении и Suspende скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=40527#p40527</link>
			<description><![CDATA[<p>А что, второй не работает?</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 17 Oct 2010 17:58:24 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=40527#p40527</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: проигрывание звука при включении и Suspende скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=40511#p40511</link>
			<description><![CDATA[<p>Спасибо огромное! 1&nbsp; предложенный скрипт отлично работает.</p>]]></description>
			<author><![CDATA[null@example.com (sergeant.coolagin)]]></author>
			<pubDate>Sun, 17 Oct 2010 07:45:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=40511#p40511</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: проигрывание звука при включении и Suspende скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=40509#p40509</link>
			<description><![CDATA[<p>Ну, или так:<br /></p><div class="codebox"><pre><code>$*Mbutton::
   Suspend
   SoundPlay, % A_IsSuspended ? &quot;*64&quot; : &quot;*16&quot;
   Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 17 Oct 2010 06:18:26 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=40509#p40509</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: проигрывание звука при включении и Suspende скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=40508#p40508</link>
			<description><![CDATA[<p>Я бы так написал:<br /></p><div class="codebox"><pre><code>$*Mbutton::
    Suspend
    If A_IsSuspended
        SoundPlay, *64
    Else
        SoundPlay, *16
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 17 Oct 2010 06:15:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=40508#p40508</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: проигрывание звука при включении и Suspende скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=40507#p40507</link>
			<description><![CDATA[<p>Порядок имеет значение. Что-нибудь вроде этого.<br /></p><div class="codebox"><pre><code>$*Mbutton::
    Suspend
    If not SuspendOn
    {
        SuspendOn = 1
        SoundPlay, F:\Windows.wav
    }
    Else
    {
        SuspendOn = 0
        SoundPlay, F:\SomeSound.wav
    }
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Sun, 17 Oct 2010 03:51:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=40507#p40507</guid>
		</item>
		<item>
			<title><![CDATA[AHK: проигрывание звука при включении и Suspende скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=40506#p40506</link>
			<description><![CDATA[<div class="codebox"><pre><code>$*Mbutton:: 
{SoundPlay, F:\Windows.wav
sleep, 30
Suspend
}</code></pre></div><p>Вот что сам смог написать. Проигрывается звук и скрипт саспендится. После этого я не могу включить скрипт этой же кнопкой. Нужно, чтобы при саспенде скрипта проигрывался 1 звук, а при включении скрипта обратно проигрывался уже другой звук.<br />Помогите, пожалуйста.</p>]]></description>
			<author><![CDATA[null@example.com (sergeant.coolagin)]]></author>
			<pubDate>Sun, 17 Oct 2010 00:12:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=40506#p40506</guid>
		</item>
	</channel>
</rss>
