 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The VBScript Network and Systems Administrator&#039;s Cafe &#187; Sound</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/tag/sound/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator</link>
	<description></description>
	<lastBuildDate>Tue, 11 Oct 2011 18:36:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Writing scripts that use speech with the Windows Speech API</title>
		<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/writing-scripts-that-use-speech-with-the-windows-speech-api/</link>
		<comments>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/writing-scripts-that-use-speech-with-the-windows-speech-api/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 02:01:08 +0000</pubDate>
		<dc:creator>Jerry Lees</dc:creator>
				<category><![CDATA[Office Agent]]></category>
		<category><![CDATA[SAPI.SpVoice]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Speech API]]></category>
		<category><![CDATA[undocumented windows]]></category>
		<category><![CDATA[VBScipt]]></category>
		<category><![CDATA[VBScript Objects]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/writing-scripts-that-use-speech-with-the-windows-speech-api/</guid>
		<description><![CDATA[I&#8217;ve been looking for ways to make a script speak the information it needs to relay to the user just for fun and, unfortunately the only scripts I could find out there were extremely elaborate onces that use the Microsoft Office Agents. While they fit the bill they were annoying and required Microsoft office components [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been looking for ways to make a script speak the information it needs to relay to the user just for fun and, unfortunately the only scripts I could find out there were extremely elaborate onces that use the Microsoft Office Agents. While they fit the bill they were annoying and required Microsoft office components to be installed&#8230; that just wouldn&#8217;t do.</p>
<p>Then I found the Windows Sound API. It doesn&#8217;t require anything at all to be installed and it works fine. The script below is simple and easy to implement in your code. Check it out:</p>
<p><span style="color: #0000ff">strText = &#8220;Hello, there&#8230;. can you write code?&#8221;</span></p>
<p><span style="color: #0000ff">Set objVoice = CreateObject(&#8220;SAPI.SpVoice&#8221;)<br />
objVoice.Speak strText</span></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/writing-scripts-that-use-speech-with-the-windows-speech-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
