<?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: PowerShell Analyzer like execution hotkeys for PS CTP3 ISE.</title>
	<atom:link href="http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/feed/" rel="self" type="application/rss+xml" />
	<link>http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/</link>
	<description>invoke-intelligence &#124; where { $_.necessary }</description>
	<lastBuildDate>Thu, 19 Apr 2012 17:42:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Using a Color Dialog to choose colors for ISE &#124; Get-PowerShell</title>
		<link>http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/comment-page-1/#comment-954</link>
		<dc:creator>Using a Color Dialog to choose colors for ISE &#124; Get-PowerShell</dc:creator>
		<pubDate>Tue, 31 Mar 2009 03:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/#comment-954</guid>
		<description>[...] other custom commands are from Karl Prosser. I highly recommend you take a look at them as well. Very [...]</description>
		<content:encoded><![CDATA[<p>[...] other custom commands are from Karl Prosser. I highly recommend you take a look at them as well. Very [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PowerShell ISE-Cream - Live Powershell with Karl Prosser - PowerShell.com</title>
		<link>http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/comment-page-1/#comment-734</link>
		<dc:creator>PowerShell ISE-Cream - Live Powershell with Karl Prosser - PowerShell.com</dc:creator>
		<pubDate>Thu, 12 Feb 2009 05:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/#comment-734</guid>
		<description>[...] while back I threw together a few scripts to enhance PowerShell V2 ISE experience that added some PowerShell Analyzer like features . They [...]</description>
		<content:encoded><![CDATA[<p>[...] while back I threw together a few scripts to enhance PowerShell V2 ISE experience that added some PowerShell Analyzer like features . They [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Live PowerShell With Karl Prosser &#187; Blog Archive &#187; PowerShell ISE-Cream</title>
		<link>http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/comment-page-1/#comment-623</link>
		<dc:creator>Live PowerShell With Karl Prosser &#187; Blog Archive &#187; PowerShell ISE-Cream</dc:creator>
		<pubDate>Thu, 05 Feb 2009 23:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/#comment-623</guid>
		<description>[...] while back I threw together a few scripts to enhance PowerShell V2 ISE experience that added some PowerShell Analyzer like features . They [...]</description>
		<content:encoded><![CDATA[<p>[...] while back I threw together a few scripts to enhance PowerShell V2 ISE experience that added some PowerShell Analyzer like features . They [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernd Kriszio</title>
		<link>http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/comment-page-1/#comment-575</link>
		<dc:creator>Bernd Kriszio</dc:creator>
		<pubDate>Sun, 04 Jan 2009 23:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/#comment-575</guid>
		<description>And here my solution:

function invoke-caretline
{
    $text = $psISE.CurrentOpenedFile.Editor.text -split &quot;`r`n&quot;
    $current = $psISE.CurrentOpenedFile.Editor.caretline-1
    $cmd = &#039;&#039;
    while ($true)
    {
        if ($text[$current][-1] -eq &#039;´&#039;) {
            $cmd += $text[$current].substring(0,($text[$current].length - 1)) + &#039; &#039; 
            $current += 1 
         }
         else {
            break
         }
    }
    $cmd += $text[$current]
    invoke-expression $cmd
}

try it on:
get-help ´
get-childitem
pwd</description>
		<content:encoded><![CDATA[<p>And here my solution:</p>
<p>function invoke-caretline<br />
{<br />
    $text = $psISE.CurrentOpenedFile.Editor.text -split &#8220;`r`n&#8221;<br />
    $current = $psISE.CurrentOpenedFile.Editor.caretline-1<br />
    $cmd = &#8221;<br />
    while ($true)<br />
    {<br />
        if ($text[$current][-1] -eq &#8216;´&#8217;) {<br />
            $cmd += $text[$current].substring(0,($text[$current].length &#8211; 1)) + &#8216; &#8216;<br />
            $current += 1<br />
         }<br />
         else {<br />
            break<br />
         }<br />
    }<br />
    $cmd += $text[$current]<br />
    invoke-expression $cmd<br />
}</p>
<p>try it on:<br />
get-help ´<br />
get-childitem<br />
pwd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernd Kriszio</title>
		<link>http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/comment-page-1/#comment-573</link>
		<dc:creator>Bernd Kriszio</dc:creator>
		<pubDate>Sun, 04 Jan 2009 11:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/#comment-573</guid>
		<description>Hello Karl,
great work.

Concerning invoke-caretline: good that we have block-comments this days. One idea for improvement - multiline commands that end in ` could be processed as well.

And as currently I do not know any way to determine wheteher the focus is in an editor pane or the output pane, it inspires me for a function to copy the contents of the output-pane into a fresh editor pane. 

Bernd</description>
		<content:encoded><![CDATA[<p>Hello Karl,<br />
great work.</p>
<p>Concerning invoke-caretline: good that we have block-comments this days. One idea for improvement &#8211; multiline commands that end in ` could be processed as well.</p>
<p>And as currently I do not know any way to determine wheteher the focus is in an editor pane or the output pane, it inspires me for a function to copy the contents of the output-pane into a fresh editor pane. </p>
<p>Bernd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Windows PowerShell Blog : Programming PowerShell_ISE</title>
		<link>http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/comment-page-1/#comment-572</link>
		<dc:creator>Windows PowerShell Blog : Programming PowerShell_ISE</dc:creator>
		<pubDate>Sun, 04 Jan 2009 05:54:45 +0000</pubDate>
		<guid isPermaLink="false">http://karlprosser.com/coder/2009/01/03/powershell-analayzer-like-execution-hotkeys-for-ps-ctp3-ise/#comment-572</guid>
		<description>[...] You can read Karl’s blog and get his code HERE. [...]</description>
		<content:encoded><![CDATA[<p>[...] You can read Karl’s blog and get his code HERE. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

