{"id":411,"date":"2008-04-05T14:01:02","date_gmt":"2008-04-05T22:01:02","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/2008\/04\/05\/primalscript-altx-powershell-mmmm\/"},"modified":"2008-04-05T14:01:02","modified_gmt":"2008-04-05T22:01:02","slug":"primalscript-altx-powershell-mmmm","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2008\/04\/05\/primalscript-altx-powershell-mmmm\/","title":{"rendered":"PrimalScript \/ Alt+X \/ PowerShell \/ Mmmm&#8230;"},"content":{"rendered":"<p>Did you know that the latest build of PrimalScript 2007 (Professional and Enterprise) has a cool new feature for Windows PowerShell users?<\/p>\n<p>Just highlight some code &#8211; an entire line, just a bit, or several lines &#8211; and press Alt+X. Only the highlighted code will execute!<\/p>\n<p>This opens up a very cool new workflow. Instead of going into the shell, experimenting, and pasting your successful results into PrimalScript to create a repeatable script, you can now work entirely in PrimalScript. Just type code, highlight it, and press Alt+X. If it doesn&#8217;t do quite what you want, just modify it, highlight it, and Alt+X again. When you&#8217;ve gotten it working perfectly, just press Ctrl+S to save the file &#8211; no need to separate &quot;the shell&quot; and &quot;the script.&quot;<\/p>\n<p>And don&#8217;t forget &#8211; if you get something working and think you might use it again sometime, highlight it and select Save As Snippet. You&#8217;ll save the highlighted code right into PrimalScript&#8217;s Snippets Browser, where it remains available to be quickly dragged into future scripts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you know that the latest build of PrimalScript 2007 (Professional and Enterprise) has a cool new feature for Windows PowerShell users? Just highlight some code &#8211; an entire line, just a bit, or several lines &#8211; and press Alt+X. Only the highlighted code will execute! This opens up a very cool new workflow. Instead [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[21,25],"tags":[144,143,28,37],"class_list":["post-411","post","type-post","status-publish","format-standard","hentry","category-software-news","category-windows-powershell","tag-altx","tag-analyzer","tag-powershell","tag-primalscript"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=411"}],"version-history":[{"count":0,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/411\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}