<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Control your PC with your voice &#8230; and PowerShell</title>
	<atom:link href="http://joelbennett.net/control-your-pc-with-your-voice-and-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelbennett.net/control-your-pc-with-your-voice-and-powershell/</link>
	<description>The internet home of Joel "Jaykul" Bennett...</description>
	<lastBuildDate>Thu, 04 Mar 2010 22:56:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://joelbennett.net/control-your-pc-with-your-voice-and-powershell/comment-page-1/#comment-212482</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Tue, 07 Jul 2009 05:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1188#comment-212482</guid>
		<description>That blog post is coming very soon ;) but since you asked so nicely ... I pasted a version of the script which supports that here http://poshcode.org/1195 -- the key is that you can put a wildcard in, and then use @$match@ in your script ... like:

&lt;code lang=&quot;posh&quot;&gt;
Add-SpeechCommands  @{
   &quot;Define * please&quot; = { 
      $term = $_ -replace &quot;$Computer, Define (.*) please&quot;,&#039;$1&#039;
      Say (Get-Definition $term)
   }
}&lt;/code&gt;

For now, I&#039;ll leave it up to you to write the implementation of Get-Definition ;) ... but bear in mind that the * can match more than one word, so it&#039;s up to you to either write a sensible script ... or speak carefully ;)a</description>
		<content:encoded><![CDATA[<p>That blog post is coming very soon <img src='http://joelbennett.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  but since you asked so nicely &#8230; I pasted a version of the script which supports that here <a href="http://poshcode.org/1195" rel="nofollow">http://poshcode.org/1195</a> &#8212; the key is that you can put a wildcard in, and then use <code>$match</code> in your script &#8230; like:</p>
<div class="posh code posh" style="font-family:monospace;">
<span style="color: #0066cc; font-style: italic;">Add-<span style="font-style: normal;">SpeechCommands</span></span> &nbsp;@<span style="color: #333;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&quot;Define * please&quot;</span> <span style="color: #66cc66;">=</span> <span style="color: #333;">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; <span style="color: #660033; font-weight: bold;">$term</span> <span style="color: #66cc66;">=</span> <span style="color: #660033; font-weight: bold;">$_</span> <span style="color: #000066;">-replace</span> <span style="color: #009900;">&quot;$Computer, Define (.*) please&quot;</span>,<span style="color: #009900;">''</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #660033;">Say</span> <span style="color: #333;">&#40;</span><span style="color: #0066cc; font-style: italic;">Get-<span style="font-style: normal;">Definition</span></span> <span style="color: #660033; font-weight: bold;">$term</span><span style="color: #333;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #333;">&#125;</span><br />
<span style="color: #333;">&#125;</span></div>
<p>For now, I&#8217;ll leave it up to you to write the implementation of Get-Definition <img src='http://joelbennett.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ... but bear in mind that the * can match more than one word, so it&#8217;s up to you to either write a sensible script &#8230; or speak carefully <img src='http://joelbennett.net/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> a</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://joelbennett.net/control-your-pc-with-your-voice-and-powershell/comment-page-1/#comment-212480</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Mon, 06 Jul 2009 22:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1188#comment-212480</guid>
		<description>It would be very cool if you can add something like &quot;Computer query %a&quot; where %a gets send to wolfram&#124;alpha and the result is being said.</description>
		<content:encoded><![CDATA[<p>It would be very cool if you can add something like &#8220;Computer query %a&#8221; where %a gets send to wolfram|alpha and the result is being said.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hal Rottenberg</title>
		<link>http://joelbennett.net/control-your-pc-with-your-voice-and-powershell/comment-page-1/#comment-212471</link>
		<dc:creator>Hal Rottenberg</dc:creator>
		<pubDate>Mon, 29 Jun 2009 12:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1188#comment-212471</guid>
		<description>Cue jokes about me here...</description>
		<content:encoded><![CDATA[<p>Cue jokes about me here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://joelbennett.net/control-your-pc-with-your-voice-and-powershell/comment-page-1/#comment-212468</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Fri, 26 Jun 2009 01:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1188#comment-212468</guid>
		<description>Thanks, yes. I&#039;ve corrected it :)</description>
		<content:encoded><![CDATA[<p>Thanks, yes. I&#8217;ve corrected it <img src='http://joelbennett.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://joelbennett.net/control-your-pc-with-your-voice-and-powershell/comment-page-1/#comment-212467</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 26 Jun 2009 00:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1188#comment-212467</guid>
		<description>Export-ModuleMember -Function * -Alias * -Variable SpeachModuleListener, SpeechModuleSpeaker 

An &#039;a&#039; in speach above ?

Thanx as ever Jaykul
Andy</description>
		<content:encoded><![CDATA[<p>Export-ModuleMember -Function * -Alias * -Variable SpeachModuleListener, SpeechModuleSpeaker </p>
<p>An &#8216;a&#8217; in speach above ?</p>
<p>Thanx as ever Jaykul<br />
Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>
