<?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=17334&amp;type=atom" />
	<updated>2022-08-25T18:15:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17334</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить звуковое уведомление в ахк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154509#p154509" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>

#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
Gui, +AlwaysOnTop
UrlDownloadToFile, https://i.imgur.com/T1VoFQw.png, % f := A_Temp &quot;\temp_pic&quot;
Gui, Add, Pic, x0 y0 w125 h92 , % f


Gui Show, w125 h92, Test version
Return


GuiClose:
    ExitApp

F2::

Suspend
SoundBeep, 500, 500
keywait, F2, D
Suspend
SoundBeep, 500, 500
SoundBeep, 500, 500


</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Clannad5]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39853</uri>
			</author>
			<updated>2022-08-25T18:15:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154509#p154509</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить звуковое уведомление в ахк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154507#p154507" />
			<content type="html"><![CDATA[<p><strong>evac7311</strong>,<br /></p><div class="codebox"><pre><code>
Voice := ComObjCreate(&quot;SAPI.SpVoice&quot;)
Voice.Speak(&quot;Script activated&quot;)
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Madmer]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42664</uri>
			</author>
			<updated>2022-08-25T14:59:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154507#p154507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить звуковое уведомление в ахк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154502#p154502" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>evac7311 пишет:</cite><blockquote><p>Нужно что бы при включении паузы звучал 1 раз</p></blockquote></div><p>Suspend — это не пауза.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-24T15:23:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154502#p154502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить звуковое уведомление в ахк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154498#p154498" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Здравствуйте, ознакомился с правилами, тему оформил.</p>]]></content>
			<author>
				<name><![CDATA[evac7311]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42665</uri>
			</author>
			<updated>2022-08-23T21:45:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154498#p154498</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Добавить звуковое уведомление в ахк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154496#p154496" />
			<content type="html"><![CDATA[<p><strong>evac7311</strong>, добро пожаловать на форум! Ознакомьтесь, пожалуйста, с <a href="https://forum.script-coding.com/misc.php?action=rules">Правилами</a>, отредактируйте свой пост. Обратите внимание на <a href="https://forum.script-coding.com/misc.php?action=rules#literacy">точки</a> в конце предложений.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-08-23T21:35:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154496#p154496</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Добавить звуковое уведомление в ахк]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=154495#p154495" />
			<content type="html"><![CDATA[<p>Как добавить звуковое уведомление в скрипте для функции ? </p><div class="codebox"><pre><code>F2::suspend</code></pre></div><p> <br />Пример:<br /></p><div class="codebox"><pre><code>#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
Gui, +AlwaysOnTop
UrlDownloadToFile, https://i.imgur.com/T1VoFQw.png, % f := A_Temp &quot;\temp_pic&quot;
Gui, Add, Pic, x0 y0 w125 h92 , % f


Gui Show, w125 h92, Test version
Return


GuiClose:
    ExitApp

F2::suspend</code></pre></div><p>Нужно что бы при включении паузы звучал 1 раз. </p><div class="codebox"><pre><code>SoundBeep</code></pre></div><p> <br />А при снятии с паузы звучало 2 раза. </p><div class="codebox"><pre><code>SoundBeep</code></pre></div>]]></content>
			<author>
				<name><![CDATA[evac7311]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42665</uri>
			</author>
			<updated>2022-08-23T21:30:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=154495#p154495</id>
		</entry>
</feed>
