<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>wsrmacros Wiki Rss Feed</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=Home</link><description>wsrmacros Wiki Rss Description</description><item><title>UPDATED WIKI: disambiguate</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=disambiguate&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;disambiguate&amp;gt; &lt;a name="disambiguate"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;disambiguate&amp;gt;&lt;/b&gt; executor is used to disambiguate potentially ambigous properties or text from a recognition result. &lt;br /&gt;If the item is ambigous a dialog box will be displayed to the user allowing him/her to choose the specific item from the list. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;propname&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;propname&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;disambiguate&amp;gt;&lt;/b&gt; executor specifies the name of the property that will be disambiguated. &lt;br /&gt; &lt;br /&gt;!!!!!!&lt;u&gt;timeout&lt;/u&gt; (optional)&lt;br /&gt;The &lt;u&gt;timeout&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;disambiguate&amp;gt;&lt;/b&gt; executor specifies how long, in seconds, should the executor wait for an answer. If the user do not respond in the given timeout the command is canceled. The default is INFINITE. &lt;br /&gt; &lt;br /&gt;!!!!!!&lt;u&gt;title&lt;/u&gt; (optional) &lt;br /&gt;The &lt;u&gt;title&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;disambiguate&amp;gt;&lt;/b&gt; executor specifies the title of the dialog box. &lt;br /&gt; &lt;br /&gt;!!!!!!&lt;u&gt;prompt&lt;/u&gt; &lt;br /&gt;The &lt;u&gt;prompt&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;disambiguate&amp;gt;&lt;/b&gt; executor specifies the text prompted to the user in the dialog box. &lt;br /&gt; &lt;br /&gt;The following example allows plays music by artist name and allows for disambiguation of similar artists names:  &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Play ?the ?artist [Artists]&amp;lt;/listenFor&amp;gt;
	&amp;lt;disambiguate title=&amp;quot;Which artist do you want to play?&amp;quot; prompt=&amp;quot;Choose an Artist&amp;quot; timeout=&amp;quot;25&amp;quot; propname=&amp;quot;Artist&amp;quot; /&amp;gt;
	&amp;lt;wmpMediaControl command=&amp;quot;pause&amp;quot; /&amp;gt;
	&amp;lt;speak&amp;gt;Playing Artist {[Artist]}&amp;lt;/speak&amp;gt;
	&amp;lt;wmpMediaPlay attrname=&amp;quot;WM/AlbumArtist&amp;quot; attrvalue=&amp;quot;{[Artist]}&amp;quot; /&amp;gt; 
     &amp;lt;/command&amp;gt;
     &amp;lt;wmpMediaItems name=&amp;quot;Artists&amp;quot; propname=&amp;quot;Artist&amp;quot; attrname=&amp;quot;WM/AlbumArtist&amp;quot; useSubset=&amp;quot;true&amp;quot; /&amp;gt; 
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:11:32 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: disambiguate 20090130P</guid></item><item><title>UPDATED WIKI: mouse</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=mouse&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;mouse&amp;gt; &lt;a name="mouse"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor manipulates the mouse pointer. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;button&lt;/u&gt; (optional)
&lt;/h6&gt;The &lt;u&gt;button&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor specifies which button to press. Available values are &amp;quot;left&amp;quot;,&amp;quot;right&amp;quot;, and &amp;quot;middle&amp;quot;; it defaults to &amp;quot;left&amp;quot;. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;command&lt;/u&gt;(required)
&lt;/h6&gt;The &lt;u&gt;command&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor specifies what action the mouse should perform. Values are &amp;quot;click&amp;quot;, &amp;quot;dblclick&amp;quot; and &amp;quot;scroll&amp;quot;. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;modifierKeys&lt;/u&gt;(optional) 
&lt;/h6&gt;The &lt;u&gt;modifierKeys&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor allows for using CTRL (^), ALT (%), and SHIFT (+) keys while manipulating the mouse pointer. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;position&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;position&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor indicates horizontal (x) and vertical (y) coordinates of where to locate the mouse cursor. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;positionStyle&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;positionStyle&lt;/u&gt; of the &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor indicates the position style of the mouse pointer. If assigned to &amp;quot;absolute&amp;quot; the x and y coordinates are mapped to the computer's screen resolution. &lt;br /&gt;If assigned to &amp;quot;virtual&amp;quot; the coordinates are mapped to the &amp;quot;virtual&amp;quot; system in which the top left corner coordinates are 0,0; the middle of the screen coordinates are 32768,32768 and bottom right corner coordinates are 65536,65536. It defaults to &amp;quot;absolute&amp;quot;. &lt;br /&gt; &lt;br /&gt;The following example moves the mouse cursor to the bottom right corner and double clicks on the date: &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;scrollAmount&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;scrollAmount&lt;/u&gt; of the &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor indicates the scroll increment. &lt;br /&gt; &lt;br /&gt;&lt;h5&gt;
&lt;u&gt;scrollDirection&lt;/u&gt; (optional) 
&lt;/h5&gt;The &lt;u&gt;scrollDirection&lt;/u&gt; of the &lt;b&gt;&amp;lt;mouse&amp;gt;&lt;/b&gt; executor indicates the scrolling direction. Values are &amp;quot;up&amp;quot; or &amp;quot;down&amp;quot;. &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
&amp;lt;command&amp;gt;
 
&amp;lt;listenFor&amp;gt;Click on today's date&amp;lt;/listenFor&amp;gt;
&amp;lt;mouse button=&amp;quot;left&amp;quot; command=&amp;quot;dblclick&amp;quot; position=&amp;quot;65536,65536&amp;quot; positionStyle=&amp;quot;virtual&amp;quot; /&amp;gt; 
 
&amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:06:21 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: mouse 20090130P</guid></item><item><title>UPDATED WIKI: prompt</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=prompt&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;prompt&amp;gt; &lt;a name="prompt"&gt;&lt;/a&gt;
&lt;/h5&gt;The &amp;lt;prompt&amp;gt; executor prompts the user with a dialog box that contains manipulable text. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;title&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;title&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;prompt&amp;gt;&lt;/b&gt; executor specifies the title of the dialog box. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;timeout&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;timeout&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;prompt&amp;gt;&lt;/b&gt; executor specifies how long in seconds will the dialog box appear for. If the user do not respond to the timeout the command is canceled. The default value is INFINITE. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;defaultValue&lt;/u&gt; (optional)
&lt;/h6&gt;The &lt;u&gt;defaultValue&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;prompt&amp;gt;&lt;/b&gt; executor specifies what the default value of the edit control should be.  It defaults to an empty string. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;resultState&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;resultState&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;prompt&amp;gt;&lt;/b&gt; executor specifies what state should be modified to contain the new value of the dialog box upon successful completion of the dialog. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Text between &amp;lt;prompt&amp;gt; executor:&lt;/b&gt;&lt;br /&gt;The text within &lt;b&gt;&amp;lt;prompt&amp;gt;&lt;/b&gt; tags specifies the text prompted to the user in the dialog box. &lt;br /&gt; &lt;br /&gt;The following example allows you to generate the subject line of a thank you email using the &lt;b&gt;&amp;lt;prompt&amp;gt;&lt;/b&gt; executor: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
&amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Send thank you email to [person]&amp;lt;/listenFor&amp;gt;
	&amp;lt;prompt title=&amp;quot;thankYou&amp;quot; timeout=&amp;quot;10&amp;quot; defaultValue=&amp;quot;Dear {[person]}, Thank you so much Sincerely Alex&amp;quot; 
	resultState=&amp;quot;ThankYouText&amp;quot;&amp;gt;Thank you greeting:&amp;lt;/prompt&amp;gt;
	&amp;lt;run command=&amp;quot;mailto:{[person.email]}?subject={[ThankYouText]}&amp;quot; /&amp;gt;
&amp;lt;/command&amp;gt;
&amp;lt;rule name=&amp;quot;person&amp;quot;&amp;gt; 
     &amp;lt;list propname=&amp;quot;email&amp;quot;&amp;gt;
          &amp;lt;p valstr=&amp;quot;john@email.com&amp;quot;&amp;gt;John&amp;lt;/p&amp;gt;
          &amp;lt;p valstr=&amp;quot;kris@email.com&amp;quot;&amp;gt;Kris&amp;lt;/p&amp;gt;
          &amp;lt;p valstr=&amp;quot;travis@email.com&amp;quot;&amp;gt;Travis&amp;lt;/p&amp;gt;
     &amp;lt;/list&amp;gt;
&amp;lt;/rule&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:05:51 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: prompt 20090130P</guid></item><item><title>UPDATED WIKI: closeApp</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=closeApp&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;closeApp&amp;gt; &lt;a name="closeApp"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;closeApp&amp;gt;&lt;/b&gt; executor is used to close a specified application.&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
Note. Currently this executor does not disambiguate if more than one application matches the search. 
&lt;/h6&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitle&lt;/u&gt;  
&lt;/h6&gt;The &lt;u&gt;windowTitle&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;closeApp&amp;gt;&lt;/b&gt; executor specifies the exact title of the window to close. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitleContains&lt;/u&gt;
&lt;/h6&gt;The &lt;u&gt;windowTitleContains&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;closeApp&amp;gt;&lt;/b&gt; executor specifies a subset of the title of the window to close. &lt;br /&gt; &lt;br /&gt;Only one of these attributes must be specified. They cannot be used in conjunction. &lt;br /&gt; &lt;br /&gt;The following examples closes Notepad if opened: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Close my favorite application&amp;lt;/listenFor&amp;gt;
	&amp;lt;closeApp windowTitleContains=&amp;quot;Notepad&amp;quot; /&amp;gt; 
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:05:12 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: closeApp 20090130P</guid></item><item><title>UPDATED WIKI: restoreApp</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=restoreApp&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;restoreApp&amp;gt;  &lt;a name="restoreApp"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;restoreApp&amp;gt;&lt;/b&gt; executor is used to restore a specified application.&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
Note. Currently this executor does not disambiguate if more than one application matches the search. 
&lt;/h6&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitle&lt;/u&gt;  
&lt;/h6&gt;The &lt;u&gt;windowTitle&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;restoreApp&amp;gt;&lt;/b&gt; executor specifies the exact title of the window to restore. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitleContains&lt;/u&gt;
&lt;/h6&gt;The &lt;u&gt;windowTitleContains&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;restoreApp&amp;gt;&lt;/b&gt; executor specifies a subset of the title of the window to restore. &lt;br /&gt; &lt;br /&gt;Only one of these attributes must be specified. They cannot be used in conjunction. &lt;br /&gt; &lt;br /&gt;The following example restores Notepad if opened:&lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Restore my favorite application&amp;lt;/listenFor&amp;gt;
	&amp;lt;restoreApp windowTitleContains=&amp;quot;Notepad&amp;quot; /&amp;gt; 
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:04:28 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: restoreApp 20090130P</guid></item><item><title>UPDATED WIKI: maximizeApp</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=maximizeApp&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;maximizeApp&amp;gt; &lt;a name="maximizeApp"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;maximizeApp&amp;gt;&lt;/b&gt; executor is used to maximize a specified application.&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
Note. Currently this executor does not disambiguate if more than one application matches the search. 
&lt;/h6&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitle&lt;/u&gt;  
&lt;/h6&gt;The &lt;u&gt;windowTitle&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;maximizeApp&amp;gt;&lt;/b&gt; executor specifies the exact title of the window to maximize. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitleContains&lt;/u&gt;
&lt;/h6&gt;The &lt;u&gt;windowTitleContains&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;maximizeApp&amp;gt;&lt;/b&gt; executor specifies a subset of the title of the window to maximize. &lt;br /&gt; &lt;br /&gt;Only one of these attributes must be specified. They cannot be used in conjunction. &lt;br /&gt; &lt;br /&gt;The following example maximizes an instance of Notepad: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Maximize my favorite application&amp;lt;/listenFor&amp;gt;
	&amp;lt;maximizeApp windowTitleContains=&amp;quot;Notepad&amp;quot; /&amp;gt; 
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:04:01 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: maximizeApp 20090130P</guid></item><item><title>UPDATED WIKI: minimizeApp</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=minimizeApp&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;minimizeApp&amp;gt; &lt;a name="minimizeApp"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;minimizeApp&amp;gt;&lt;/b&gt; executor is used to minimize a specified application.&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
Note. Currently this executor does not disambiguate if more than one application matches the search. 
&lt;/h6&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitle&lt;/u&gt;  
&lt;/h6&gt;The &lt;u&gt;windowTitle&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;minimizeApp&amp;gt;&lt;/b&gt; executor specifies the exact title of the window to minimize. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitleContains&lt;/u&gt;
&lt;/h6&gt;The &lt;u&gt;windowTitleContains&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;minimizeApp&amp;gt;&lt;/b&gt; executor specifies a subset of the title of the window to minimize. &lt;br /&gt; &lt;br /&gt;Only one of these attributes must be specified. They cannot be used in conjunction. &lt;br /&gt; &lt;br /&gt;The following example minimizes Notepad if opened: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Minimize my favorite application&amp;lt;/listenFor&amp;gt;
	&amp;lt;minimizeApp windowTitleContains=&amp;quot;Notepad&amp;quot; /&amp;gt; 
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:03:33 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: minimizeApp 20090130P</guid></item><item><title>UPDATED WIKI: switchToApp</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=switchToApp&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;switchToApp&amp;gt; &lt;a name="switchToApp"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;switchToApp&amp;gt;&lt;/b&gt; executor is used to switch to a specified application.&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
Note. Currently this executor does not disambiguate if more than one application matches the search. 
&lt;/h6&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitle&lt;/u&gt;  
&lt;/h6&gt;The &lt;u&gt;windowTitle&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;switchToApp&amp;gt;&lt;/b&gt; executor specifies the exact title of the window to switch to. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowTitleContains&lt;/u&gt;
&lt;/h6&gt;The &lt;u&gt;windowTitleContains&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;switchToApp&amp;gt;&lt;/b&gt; executor specifies a subset of the title of the window to switch to. &lt;br /&gt; &lt;br /&gt;Only one of these attributes must be specified. They cannot be used in conjunction. &lt;br /&gt; &lt;br /&gt;The following example shifts focus to Notepad: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Switch to my favorite application&amp;lt;/listenFor&amp;gt;
	&amp;lt;switchToApp windowTitleContains=&amp;quot;Notepad&amp;quot; /&amp;gt; 
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt; 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:02:52 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: switchToApp 20090130P</guid></item><item><title>UPDATED WIKI: setState</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=setState&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;setState&amp;gt; &lt;a name="setState"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;setState&amp;gt;&lt;/b&gt; executor is used to set a named state to a specific value. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;name&lt;/u&gt; (required)
&lt;/h6&gt;The &lt;u&gt;name&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;setState&amp;gt;&lt;/b&gt; executor specifies the state's name that will be set. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;value&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;value&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;setState&amp;gt;&lt;/b&gt; executor specifies the value the state will  be set to. &lt;br /&gt; &lt;br /&gt;An example that demonstrates how to set several states using setState (for a complete explanation on this macro go to &amp;lt;stateIsSet&amp;gt; Condition):&lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
&amp;lt;command&amp;gt;
    &amp;lt;listenFor&amp;gt;Good morning computer&amp;lt;/listenFor&amp;gt;
     &amp;lt;speak&amp;gt;Good morning&amp;lt;/speak&amp;gt;
     &amp;lt;setState name = &amp;quot;aConversation&amp;quot; value =&amp;quot;morning&amp;quot; /&amp;gt;
     &amp;lt;waitFor seconds = &amp;quot;5&amp;quot;/&amp;gt;
     &amp;lt;setState name =&amp;quot;aConversation&amp;quot; /&amp;gt;
&amp;lt;/command&amp;gt;
 
&amp;lt;command&amp;gt;
     &amp;lt;listenFor&amp;gt;Good night computer&amp;lt;/listenFor&amp;gt;
     &amp;lt;speak&amp;gt;Good night&amp;lt;/speak&amp;gt;
     &amp;lt;setState name = &amp;quot;aConversation&amp;quot; value =&amp;quot;night&amp;quot; /&amp;gt;
     &amp;lt;waitFor seconds = &amp;quot;5&amp;quot;/&amp;gt;
     &amp;lt;setState name =&amp;quot;aConversation&amp;quot; /&amp;gt;
&amp;lt;/command&amp;gt;
 
&amp;lt;command&amp;gt;
     &amp;lt;stateIsSet name = &amp;quot;aConversation&amp;quot; value =&amp;quot;morning&amp;quot; /&amp;gt;
     &amp;lt;listenFor&amp;gt;what are you drinking&amp;lt;/listenFor&amp;gt;
     &amp;lt;speak&amp;gt;a glass of milk &amp;lt;/speak&amp;gt;
     &amp;lt;setState name =&amp;quot;aConversation&amp;quot; /&amp;gt;
&amp;lt;/command&amp;gt;
 
&amp;lt;command&amp;gt;
     &amp;lt;stateIsSet name = &amp;quot;aConversation&amp;quot; value =&amp;quot;night&amp;quot; /&amp;gt;
     &amp;lt;listenFor&amp;gt;what are you eating&amp;lt;/listenFor&amp;gt;
     &amp;lt;speak&amp;gt;rice and beans&amp;lt;/speak&amp;gt;
     &amp;lt;setState name =&amp;quot;aConversation&amp;quot; /&amp;gt;
&amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:02:26 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: setState 20090130P</guid></item><item><title>UPDATED WIKI: sendMessages</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=sendMessages&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;sendMessage&amp;gt; &lt;a name="sendMessage"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;sendMessage&amp;gt;&lt;/b&gt; executor provides limited means to send Windows messages to applications. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;windowName&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;windowName&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;sendMessage&amp;gt;&lt;/b&gt; specifies the name of the target window. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;className&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;className&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;sendMessage&amp;gt;&lt;/b&gt; executor specifies the class name of the target window. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;message&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;message&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;sendMessage&amp;gt;&lt;/b&gt; executor specifies the message number to send to the target window. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;wParam&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;wParam&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;sendMessage&amp;gt;&lt;/b&gt; executor specifies the wParam argument of the message sent. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;lParam&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;lParam&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;sendMessage&amp;gt;&lt;/b&gt; executor specifies the lParam argument of the message sent. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Text between &amp;lt;sendMessage&amp;gt; executor:&lt;/b&gt;&lt;br /&gt;The text within &lt;b&gt;&amp;lt;sendMessage&amp;gt;&lt;/b&gt; tags only works in conjunction with a WM_COPYDATA message. It specifies a block of text to be sent as the lpData part of the COPYDATASTRUCT structure associated with this message. &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Turn speech recognition off&amp;lt;/listenFor&amp;gt;
	&amp;lt;sendMessage windowName=&amp;quot;&amp;quot; className=&amp;quot;MS:SpeechTopLevel&amp;quot; message=&amp;quot;0X0111&amp;quot; wParam=&amp;quot;102&amp;quot; /&amp;gt; 	
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:01:51 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: sendMessages 20090130P</guid></item><item><title>UPDATED WIKI: wmpMediaControl</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=wmpMediaControl&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;wmpMediaControl&amp;gt; &lt;a name="wmpMediaControl"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;wmpMediaControl&amp;gt;&lt;/b&gt; executor is used to control Windows Media Player in a variety of ways, play, pause, stop, etc. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;command&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;command&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;wmpMediaControl&amp;gt;&lt;/b&gt; executor specifies the command to execute on Windows Media Player. &lt;br /&gt;Valid values are: &lt;br /&gt;play&lt;br /&gt;pause&lt;br /&gt;stop&lt;br /&gt;next&lt;br /&gt;previous&lt;br /&gt;loop_on&lt;br /&gt;loop_off&lt;br /&gt;loop_toggle&lt;br /&gt;shuffle_on&lt;br /&gt;shuffle_off&lt;br /&gt;shuffle_toggle&lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;times&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;times&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;wmpMediaControl&amp;gt;&lt;/b&gt; executor specifies the number of times the command will be sent to Windows Media Player. Default is 1. &lt;br /&gt; &lt;br /&gt;The following example allows you to play the next track in your Windows Media Player list by saying &amp;quot;next track&amp;quot;: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Next track&amp;lt;/listenFor&amp;gt;
	&amp;lt;wmpMediaControl command=&amp;quot;pause&amp;quot; /&amp;gt;
	&amp;lt;speak&amp;gt;Playing the next track&amp;lt;/speak&amp;gt;
	&amp;lt;wmpMediaControl command=&amp;quot;next&amp;quot; /&amp;gt;
	&amp;lt;waitFor seconds=&amp;quot;.5&amp;quot; /&amp;gt; 
	&amp;lt;wmpMediaControl command=&amp;quot;play&amp;quot; /&amp;gt;
     &amp;lt;/command&amp;gt; 
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:01:28 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: wmpMediaControl 20090130P</guid></item><item><title>UPDATED WIKI: wmpMediaPlay</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=wmpMediaPlay&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;wmpMediaPlay&amp;gt;  &lt;a name="wmpMediaPlay"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;wmpMediaPlay&amp;gt;&lt;/b&gt; executor is used to play music in Windows Media Player. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;attrname&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;attrname&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;wmpMediaPlay&amp;gt;&lt;/b&gt; specifies the attribute name that will be used to play music in Windows Media Player.  &lt;br /&gt; &lt;br /&gt;Common values for the &lt;u&gt;attrname&lt;/u&gt; attribute are: &lt;br /&gt;Name&lt;br /&gt;Artist&lt;br /&gt;WM/AlbumArtist&lt;br /&gt;Title&lt;br /&gt;WM/AlbumTitle&lt;br /&gt;Genre&lt;br /&gt;WM/Genre&lt;br /&gt;WM/TrackNumber &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;attrvalue&lt;/u&gt; 
&lt;/h6&gt;The &lt;u&gt;attrvalue&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;wmpMediaPlay&amp;gt;&lt;/b&gt; specifies the attribute value that will be used to play music in Windows Media Player. &lt;br /&gt; &lt;br /&gt;The following example allows you to play music in Windows Media Player by artist name: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
&amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Play ?the ?artist [Artists]&amp;lt;/listenFor&amp;gt;
	&amp;lt;wmpMediaPlay attrname=&amp;quot;WM/AlbumArtist&amp;quot; attrvalue=&amp;quot;{[Artist]}&amp;quot; /&amp;gt; 
&amp;lt;/command&amp;gt;
	&amp;lt;wmpMediaItems name=&amp;quot;Artists&amp;quot; propname=&amp;quot;Artist&amp;quot; attrname=&amp;quot;WM/AlbumArtist&amp;quot; useSubset=&amp;quot;true&amp;quot; /&amp;gt; 
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:01:05 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: wmpMediaPlay 20090130P</guid></item><item><title>UPDATED WIKI: script</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=script&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;script&amp;gt; &lt;a name="script"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;script&amp;gt;&lt;/b&gt; executor is used to execute script code in the macro framework. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;language&lt;/u&gt; (required) 
&lt;/h6&gt;The &lt;u&gt;language&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;script&amp;gt;&lt;/b&gt; executor specifies the scripting language of the script. Valid values are &amp;quot;VBScript&amp;quot; or &amp;quot;JScript&amp;quot;. &lt;br /&gt; &lt;br /&gt;The following example shows you how to use VBScript to perform actions using the &lt;b&gt;&amp;lt;script&amp;gt;&lt;/b&gt; executor: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt; 
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Can you count to ten&amp;lt;/listenFor&amp;gt;
                &amp;lt;script language=&amp;quot;VBScript&amp;quot;&amp;gt;
                      Application.Speak(&amp;quot;Yes I can&amp;quot;)
                      For count = 1 to 10 
	           Application.Speak(count)
                      Next
                &amp;lt;/script&amp;gt; 
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 21:00:31 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: script 20090130P</guid></item><item><title>UPDATED WIKI: setTextFeedback</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=setTextFeedback&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;setTextFeedback&amp;gt; 
&lt;/h5&gt;The &lt;b&gt;&amp;lt;setTextFeedback&amp;gt;&lt;/b&gt; executor is used to set text on the feedback pane in the Speech UI.  &lt;br /&gt; &lt;br /&gt; • &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;style&lt;/u&gt;(optional)
&lt;/h6&gt;The &lt;u&gt;style&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;setTextFeedback&amp;gt;&lt;/b&gt; executor specifies if the text  on the feedback pane should be displayed normally or as a warning. Valid values are &amp;quot;normal&amp;quot; and &amp;quot;warning&amp;quot;. It defaults to &amp;quot;normal&amp;quot;. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;speak&lt;/u&gt;(optional) 
&lt;/h6&gt;The &lt;u&gt;speak&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;setTextFeedback&amp;gt;&lt;/b&gt; executor specifies if the text on the feedback pane should also be spoken in addition to be displayed. Valid values are &amp;quot;true&amp;quot; and &amp;quot;false&amp;quot;. It defaults to &amp;quot;false&amp;quot;. &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Search the internet&amp;lt;/listenFor&amp;gt;
	&amp;lt;setTextFeedback&amp;gt;Opening Internet Explorer and Live.com&amp;lt;/setTextFeedback&amp;gt;
	&amp;lt;run command=&amp;quot;iexplore.exe&amp;quot; params=&amp;quot;http://www.live.com&amp;quot; /&amp;gt;	
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 20:59:52 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: setTextFeedback 20090130P</guid></item><item><title>UPDATED WIKI: confirm</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=confirm&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;confirm&amp;gt; 
&lt;/h5&gt;The &lt;b&gt;&amp;lt;confirm&amp;gt;&lt;/b&gt; executor provides the user with a dialog box to decide if execution should continue. The dialog box will contain &amp;quot;Yes&amp;quot; and &amp;quot;No&amp;quot; buttons. &lt;br /&gt; &lt;br /&gt; • &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;title&lt;/u&gt;(optional)
&lt;/h6&gt;The &lt;u&gt;title&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;confirm&amp;gt;&lt;/b&gt; executor specifies the title of the dialog box. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;timeout&lt;/u&gt;(optional)
&lt;/h6&gt;The &lt;u&gt;timeout&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;confirm&amp;gt;&lt;/b&gt; executor specifies how long in seconds will the dialog box be displayed. Defaults to INFINITE. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Text between &amp;lt;confirm&amp;gt; executor:&lt;/b&gt;&lt;br /&gt;The text between the &lt;b&gt;&amp;lt;confirm&amp;gt;&lt;/b&gt; tags specifies the message that will be displayed in the dialog box. &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Send an email to [person]&amp;lt;/listenFor&amp;gt;
                 &amp;lt;confirm title=&amp;quot;Send email&amp;quot; timeout=&amp;quot;10.0&amp;quot;&amp;gt;Are you sure you want to send an email to {[person]}? &amp;lt;/confirm&amp;gt; 
	&amp;lt;setTextFeedback&amp;gt;Sending email to {[person]}&amp;lt;/setTextFeedback&amp;gt;
	&amp;lt;run command=&amp;quot;mailto:{[person.email]}&amp;quot; /&amp;gt;	
     &amp;lt;/command&amp;gt;
 
     &amp;lt;rule name=&amp;quot;person&amp;quot;&amp;gt; 
          &amp;lt;list propname=&amp;quot;email&amp;quot;&amp;gt;
               &amp;lt;p valstr=&amp;quot;john@email.com&amp;quot;&amp;gt;John&amp;lt;/p&amp;gt;
               &amp;lt;p valstr=&amp;quot;kris@email.com&amp;quot;&amp;gt;Kris&amp;lt;/p&amp;gt;
               &amp;lt;p valstr=&amp;quot;travis@email.com&amp;quot;&amp;gt;Travis&amp;lt;/p&amp;gt;
          &amp;lt;/list&amp;gt;
     &amp;lt;/rule&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 20:58:02 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: confirm 20090130P</guid></item><item><title>UPDATED WIKI: alert</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=alert&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;alert&amp;gt; &lt;a name="alert"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;alert&amp;gt;&lt;/b&gt; executor is used to inform the user using a dialog box. This dialog box only contains an OK button.&lt;br /&gt; &lt;br /&gt; • &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;title&lt;/u&gt;(optional)
&lt;/h6&gt;The &lt;u&gt;title&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;alert&amp;gt;&lt;/b&gt; executor specifies the title of the dialog box. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;timeout&lt;/u&gt;(optional)
&lt;/h6&gt;The &lt;u&gt;timeout&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;alert&amp;gt;&lt;/b&gt; executor specifies how long in seconds will the dialog box be displayed. Defaults to INFINITE. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Text between &amp;lt;alert&amp;gt; executor&lt;/b&gt;&lt;br /&gt;The text between the &lt;b&gt;&amp;lt;alert&amp;gt;&lt;/b&gt; tags specifies the message that will be displayes in the dialog box. &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Send email to [person]&amp;lt;/listenFor&amp;gt;
	&amp;lt;setTextFeedback&amp;gt;Sending email to {[person]}&amp;lt;/setTextFeedback&amp;gt;
	&amp;lt;run command=&amp;quot;mailto:{[person.email]}&amp;quot; /&amp;gt;	
     &amp;lt;/command&amp;gt;
 
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;What's [person] email address&amp;lt;/listenFor&amp;gt;
	&amp;lt;alert title=&amp;quot;Email address&amp;quot; timeout=&amp;quot;10.0&amp;quot;&amp;gt;{[person]}'s email address is: {[person.email]} &amp;lt;/alert&amp;gt;
     &amp;lt;/command&amp;gt;
 
     &amp;lt;rule name=&amp;quot;person&amp;quot;&amp;gt; 
          &amp;lt;list propname=&amp;quot;email&amp;quot;&amp;gt;
               &amp;lt;p valstr=&amp;quot;john@email.com&amp;quot;&amp;gt;John&amp;lt;/p&amp;gt;
               &amp;lt;p valstr=&amp;quot;kris@email.com&amp;quot;&amp;gt;Kris&amp;lt;/p&amp;gt;
               &amp;lt;p valstr=&amp;quot;travis@email.com&amp;quot;&amp;gt;Travis&amp;lt;/p&amp;gt;
          &amp;lt;/list&amp;gt;
     &amp;lt;/rule&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 20:57:18 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: alert 20090130P</guid></item><item><title>UPDATED WIKI: speak</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=speak&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;speak&amp;gt; 
&lt;/h5&gt;The &lt;b&gt;&amp;lt;speak&amp;gt;&lt;/b&gt; executor uses a TTS (Text To Speech) voice to speak back to the user. &lt;br /&gt; &lt;br /&gt; • &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;speakFlags&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;speakFlags&lt;/u&gt; attribute of the &lt;b&gt;&amp;lt;speak&amp;gt;&lt;/b&gt; executor allows to specify the SPEAKFLAGS value passed to the TTS engine. It defaults to SPF_IS_NOT_XML(16).&lt;br /&gt;For more information about SPEAKFLAGS go to &lt;a href="http://msdn.microsoft.com/en-us/library/ms717252(VS.85).aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/library/ms717252(VS.85).aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;The following example the computer greets back at the user: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Hello computer&amp;lt;/listenFor&amp;gt;
	&amp;lt;speak&amp;gt;Hello user&amp;lt;/speak&amp;gt;
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 20:56:36 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: speak 20090130P</guid></item><item><title>UPDATED WIKI: waitFor</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=waitFor&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;waitFor&amp;gt; &lt;a name="waitFor"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;waitFor&amp;gt;&lt;/b&gt; executor waits for a specified amount of time. &lt;br /&gt; &lt;br /&gt; • &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;seconds&lt;/u&gt; (required)
&lt;/h6&gt;The &lt;u&gt;seconds&lt;/u&gt; attribute specifies how long in seconds the &lt;b&gt;&amp;lt;waitFor&amp;gt;&lt;/b&gt; executor should wait before continuing. (The value can be specified as a floating point value) &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;anyStateNameIsSet&lt;/u&gt; (optional not allowed in conjuntion with &lt;u&gt;allStateNamesAreSet&lt;/u&gt;) 
&lt;/h6&gt;The &lt;u&gt;anyStateNameIsSet&lt;/u&gt; attribute specifies to wait until any of the named states are set to a value. The list of state names is separated by the vertical bar character &amp;quot;|&amp;quot;. &lt;br /&gt;Example: &lt;br /&gt;&lt;pre&gt;
&amp;lt;waitFor anyStateNameIsSet=&amp;quot;stateOne|stateTwo|stateThree&amp;quot; seconds=&amp;quot;10&amp;quot; /&amp;gt; 
&lt;/pre&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;allStateNamesAreSet&lt;/u&gt; (optional not allowed in conjunction with &lt;u&gt;anyStateNameIsSet&lt;/u&gt;)
&lt;/h6&gt;The &lt;u&gt;allStateNamesAreSet&lt;/u&gt; attribute specifies to wait until all of the named states are set to a value. The list of state names is separated by the vertical bar character &amp;quot;|&amp;quot;. &lt;br /&gt;Example: &lt;br /&gt;&lt;pre&gt;
&amp;lt;waitFor allStateNamesAreSet=&amp;quot;stateOne|stateTwo|stateThree&amp;quot; seconds=&amp;quot;10&amp;quot; /&amp;gt; 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;The following example uses the &lt;b&gt;&amp;lt;waitFor&amp;gt;&lt;/b&gt; executor to wait for WordPad to load: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt; 
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Open my text editor with font menu&amp;lt;/listenFor&amp;gt;
	&amp;lt;run command=&amp;quot;wordpad.exe&amp;quot; /&amp;gt; 
	&amp;lt;waitFor seconds=&amp;quot;1.0&amp;quot; /&amp;gt;
                &amp;lt;sendKeys&amp;gt;%o&amp;lt;/sendKeys&amp;gt;
                &amp;lt;waitFor seconds=&amp;quot;.250&amp;quot; /&amp;gt;
                &amp;lt;sendKeys&amp;gt;f&amp;lt;/sendKeys&amp;gt;	 
      &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 20:04:45 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: waitFor 20090130P</guid></item><item><title>UPDATED WIKI: emulateRecognition</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=emulateRecognition&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;emulateRecognition&amp;gt; &lt;a name="emulateRecognition"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;emulateRecognition&amp;gt;&lt;/b&gt; executor simulates speech recognition. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;waitForDisambiguation&lt;/u&gt; (optional)
&lt;/h6&gt;The &lt;u&gt;waitForDisambiguation&lt;/u&gt; attribute specifies the amount of time to wait for the speech recognition command to be disambiguated. Default value is 0 where the recognizer wont wait for disambiguation. &lt;br /&gt; &lt;br /&gt;If a value is specified, the &lt;b&gt;&amp;lt;emulateRecognition&amp;gt;&lt;/b&gt; executor will ensure that if disambiguation is necessary, the user will be given an amount of time to respond to the disambiguation prompt as specified in this attribute. &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Text between &amp;lt;emulateRecognition&amp;gt; executor:&lt;/b&gt;&lt;br /&gt;The text contained within the &lt;b&gt;&amp;lt;emulateRecognition&amp;gt;&lt;/b&gt; executor specifies the text of voice command to be emulated by the speech recognition engine. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;Note:&lt;/u&gt; Emulate recognition does not validate the correction of the text between the tags therefore invalid characterers, extra white spaces and mispelled words may corrupt its execution and it may fail silently. 
&lt;/h6&gt; &lt;br /&gt;In the following example allows to copy the screen into paint: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Copy the screen into paint&amp;lt;/listenFor&amp;gt;
                &amp;lt;emulateRecognition&amp;gt;Press print screen&amp;lt;/emulateRecognition&amp;gt; 
	&amp;lt;run command=&amp;quot;mspaint.exe&amp;quot; /&amp;gt; 
                &amp;lt;waitFor seconds=&amp;quot;1.0&amp;quot; /&amp;gt;
                &amp;lt;switchToApp windowTitleContains=&amp;quot;Paint&amp;quot; /&amp;gt;
                &amp;lt;waitFor seconds=&amp;quot;1.0&amp;quot; /&amp;gt;
                &amp;lt;sendKeys&amp;gt;^v&amp;lt;/sendKeys&amp;gt;
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt; 
&lt;/pre&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 20:04:11 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: emulateRecognition 20090130P</guid></item><item><title>UPDATED WIKI: run</title><link>http://code.msdn.microsoft.com/wsrmacros/Wiki/View.aspx?title=run&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;h5&gt;
&amp;lt;run&amp;gt; &lt;a name="run"&gt;&lt;/a&gt;
&lt;/h5&gt;The &lt;b&gt;&amp;lt;run&amp;gt;&lt;/b&gt; executor starts a new application.   &lt;br /&gt; &lt;br /&gt;• &lt;b&gt;Attributes:&lt;/b&gt;&lt;br /&gt;&lt;h6&gt;
&lt;u&gt;command&lt;/u&gt; (required)
&lt;/h6&gt;The &lt;u&gt;command&lt;/u&gt; attribute specifies what program to run. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;params&lt;/u&gt; (optional)
&lt;/h6&gt;The &lt;u&gt;params&lt;/u&gt; attribute specifies the command line parameters to pass to the application. &lt;br /&gt; &lt;br /&gt;&lt;h6&gt;
&lt;u&gt;directory&lt;/u&gt; (optional) 
&lt;/h6&gt;The &lt;u&gt;directory&lt;/u&gt; attribute specifies what the current directory should be when running the application. &lt;br /&gt; &lt;br /&gt;In the following example the &lt;b&gt;&amp;lt;run&amp;gt;&lt;/b&gt; executor is used to open an internet explorer window with www.live.com as its default page: &lt;br /&gt;&lt;pre&gt;
&amp;lt;speechMacros&amp;gt;
     &amp;lt;command&amp;gt;
	&amp;lt;listenFor&amp;gt;Search the Internet&amp;lt;/listenFor&amp;gt;
	&amp;lt;run command=&amp;quot;iexplore.exe&amp;quot; params=&amp;quot;http://www.live.com&amp;quot; /&amp;gt; 
     &amp;lt;/command&amp;gt;
&amp;lt;/speechMacros&amp;gt;
&lt;/pre&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>alex_avila</author><pubDate>Fri, 30 Jan 2009 20:03:38 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: run 20090130P</guid></item></channel></rss>