Posts Tagged ‘templates’


 

PowerShell Studio 2014: Comment-Based Help Templates

Thursday, June 5th, 2014 by David Corrales
In a previous article we covered how you can generate comment-based help for functions. Now we expanded upon this feature by added the ability to create templates for comment-based help generator. [Requires: PowerShell Studio 2014 v4.1.61 or above] Comment-Based Help Templates PowerShell Studio comes with a predefined template that contains the following: The template file contains the typical comment-based help block with some token variables and a single parameter section. When the user generates comment-based help for a function or file, PowerShell Studio will read the template file. Depending on if the function already has comment-based help, it will behave…   More »

PowerShell Studio 2014: File Templates

Thursday, May 22nd, 2014 by David Corrales
PowerShell Studio always contained templates for various file types. In previous versions, users who wanted to change the template had to manually edit the existing template files. Unfortunately whenever the user updated the application the installer would uninstall the application before applying an update, thus losing any modification made to the template. As a result, we added a new Create Template feature to PowerShell Studio 2014 that not only makes it easier to create templates but also preserves them after application updates. Creating a Template To create a template you can create a new file or simply open an existing…   More »

Don’t always start from scratch

Monday, April 28th, 2014 by Alex Riedel
We use scripting to automate tasks that would otherwise be very repetitive. However, when it comes to creating a script most users start with a blank slate, an empty file. Then they hunt for copy and paste sources to start and the script fills with bits and pieces from other places. Next time a new script needs to be created, the same process starts all over again. We have added a tiny little improvement to PrimalScript 2014 that might just make it easier for you to get started on a new script. You can save any file you have as…   More »

PowerShell Studio: New Form Template

Thursday, November 1st, 2012 by David Corrales
In the (v3.1.9) service release we introduced a new form template called: Wizard Template. This template simulates an application wizard by utilizing a TabControl to represent the various pages of the wizard. The template also includes navigation buttons that enable and disable depending on the current position and if the controls validate.   Each tab page has a sample input that must either be entered or checked in order to proceed. For example, tab page “Step 1” has a textbox that must have information entered before proceeding: Before Entering Text: The Next button is disabled.   After Entering Text: The…   More »

PrimalScript 2011 Templates: ASCII, Unicode and UTF-8

Tuesday, March 6th, 2012 by Alex Riedel
PrimalScript 2011 creates Unicode files by default. There are some exceptions, like XML files, which are created as UTF-8 files. While generally Unicode is the way to go with international characters and mixed languages and so forth there are some occasions where another encoding has to be used. Once you have a file opened in PrimalScript it is pretty easy to change the encoding: Just right click on the indicator on the status bar and select the  new encoding. Press Save and you are all done. But what if you want to change the default encoding for a file type…   More »

Feature Peek 2011: PrimalForms – Form Templates

Monday, February 14th, 2011 by David Corrales
PrimalForms 2011 will ship with a number of predefined templates that will make things easier for you when creating a GUI for PowerShell. (Fig 1: When you create a new form, a list of templates will appear.)   We know some of you will want to create your own reusable templates, so we implemented  any easy way for you to convert your forms: (Fig 2: Create Form Template Menu Option) I want to the option to search the my exported database queries, but the default query form doesn’t support the functionality. So I start by creating a Form with the…   More »

New Essentials!

Friday, February 15th, 2008 by Don Jones
 We've revamped the "Essentials" page on ScriptingAnswers.com to give it better visibility, and make it easier for us to add new content in the future (which of course we plan to do). Bookmark http://www.scriptinganswers.com/essentials, and subscribe to the new Essentials RSS feed to stay on top of the latest. Our "Essentials" page features script templates and other frequently-requested scripts and information. It's the first place to look for the most commonly-requested stuff, as well as downloads from upcoming conferences (those downloads don't appear until after the conference, so don't get all excited right now and start looking for them!)…   More »