<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHk:Микрофон - error]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15012&amp;type=atom" />
	<updated>2019-10-11T18:48:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15012</id>
		<entry>
			<title type="html"><![CDATA[Re: AHk:Микрофон - error]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136336#p136336" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong></p><p>Это на работе, стоит Kaspersky (не помню какой версии), возможно и стоят блокираторы, но есть идентичные компьютеры, на одном работает без проблем, а на другом ошибка.</p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-10-11T18:48:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136336#p136336</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHk:Микрофон - error]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136333#p136333" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong></p><div class="codebox"><pre><code>
&quot;C:\Windows\system32\rundll32.exe&quot; shell32.dll,Control_RunDLL mmsys.cpl,,playback                       ; ручной
&quot;C:\Windows\system32\rundll32.exe&quot; Shell32.dll,Control_RunDLL &quot;C:\Windows\System32\mmsys.cpl&quot;,   ; автомат
</code></pre></div><p>И почему-то после этих манипуляций код заработал на пару раз<br /></p><div class="codebox"><pre><code>
run, C:\Windows\system32\SoundRecorder.exe
WinWait, Звукозапись
ControlClick, ToolbarWindow324, ahk_class AudioRecorderMainFrameTraits
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-10-11T16:11:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136333#p136333</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHk:Микрофон - error]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136332#p136332" />
			<content type="html"><![CDATA[<p>Возможно, что запуск вручную идет с другими параметрами, откройте окно вручную и запустите скрипт:<br /></p><div class="codebox"><pre><code>; Run, mmsys.cpl
WinWait ahk_exe rundll32.exe ahk_class #32770
WinGet pid, pid
ComObjGet(&quot;winmgmts:&quot;).ExecQuery(&quot;Select * from Win32_Process WHERE ProcessId = &quot; . pid)._NewEnum.next(x)
MsgBox % ClipBoard := x.CommandLine</code></pre></div><p>Сравните со параметрами, которые будут при автоматическом запуске (расскоментировав строку в коде).</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2019-10-11T15:51:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136332#p136332</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHk:Микрофон - error]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136331#p136331" />
			<content type="html"><![CDATA[<p><strong>stealzy</strong></p><p>Стоит x64.</p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-10-11T15:16:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136331#p136331</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHk:Микрофон - error]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136318#p136318" />
			<content type="html"><![CDATA[<p>Добрый день! Подскажите пож-та, вылетает ошибка &quot;Не удаётся найти устройство звукозаписи&quot;, вручную всё работает. Win8.1x64 - на одном ПК скрипт работает без ошибок, на другом вылетает ошибка.</p><br /><div class="codebox"><pre><code>
run, C:\Windows\system32\SoundRecorder.exe 
WinWait, Звукозапись
ControlClick, ToolbarWindow324, ahk_class AudioRecorderMainFrameTraits
return
</code></pre></div><div class="codebox"><pre><code>
 run, %comspec% /k C:\Windows\system32\SoundRecorder.exe
return
</code></pre></div><br /><br /><p>Если запускать этот код, то шкала микрофона никак не реагирует на звуки, если же вручную, то всё ок.<br /></p><div class="codebox"><pre><code>
Run, mmsys.cpl
WinWait, Sound ahk_class #32770
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-10-11T05:40:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136318#p136318</id>
		</entry>
</feed>
