<?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="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11921&amp;type=atom" />
	<updated>2016-09-17T11:41:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11921</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Воспроизведение при вкл\откл скрипта.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=107804#p107804" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>

; Тут клавиша вкл/выкл скрипта

If (Script = &quot;&quot; || Script = &quot;off&quot;) {
Script = on
SoundPlay, %A_WinDir%\Media\ring03.wav
}
else {
Script = off
SoundPlay, %A_WinDir%\Media\ring07.wav
}

; Дальше ваш код

</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ProgMaster90]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33925</uri>
			</author>
			<updated>2016-09-17T11:41:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=107804#p107804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Воспроизведение при вкл\откл скрипта.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=106869#p106869" />
			<content type="html"><![CDATA[<p>Подскажите код, который можно будет вставить в уже существующий скрипт, для воспроизведения аудиофайлов(2) при нажатии на кнопку вкл\откл скрипта. Приведу пример, нажимаю на кнопку вкл. скрипта и воспроизводится аудиофайл(А), а когда нажимаю на эту же кнопку повторно, то воспроизводится аудиофайл(В). Кнопка вкл\откл одна и та же, допустим ПКМ.</p>]]></content>
			<author>
				<name><![CDATA[KostyaDominator]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33937</uri>
			</author>
			<updated>2016-08-19T05:05:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=106869#p106869</id>
		</entry>
</feed>
