Posts Tagged ‘beginner’


 

Output from a Script in an Executable File

Thursday, December 17th, 2015 by June Blender
This is the fourth blog in a multi-part series about designing a Windows PowerShell script that will be packaged in an executable file. Passing Parameters to a Script in an Executable File explains how to use the special parsing features of PowerShell Studio and PrimalScript to make passing parameters easy for PowerShell users and authors. Parsing Parameters for a Script in an Executable File explains how to parse parameters manually for special uses. Displaying Help for a Script in an Executable File explains how to display help for a script in an executable file. Output from a Script in an…   More »

Spotlight on the Label Control

Wednesday, December 16th, 2015 by June Blender
The Spotlight on Controls series describes the controls, that is, the objects in the System.Windows.Forms namespace, so you can use them effectively when building GUI apps in PowerShell Studio and PrimalScript. Each post focuses on one control and lists its most important properties, methods, and events, including the default event that PowerShell Studio adds to your script when you double-click the control. The posts include many examples written in Windows PowerShell, so you can use them right away. Read more: Spotlight on Controls: Common properties and methods This post describes the Label control. Label Control [System.Windows.Forms.Label] Creates a clickable text…   More »

Typing Enter Pushes a Button

Monday, August 17th, 2015 by June Blender
As a beginner developer of PowerShell GUIs, I'm always looking for easy ways to make my simple applications more sophisticated and usable. One of the basic usability features in most applications is typing <Enter> in a textbox to invoke a function instead of clicking a Start, Go, or OK button. In this post, I'll show you two ways to do it. One technique is significantly simpler than the other, but works only when there is exactly one "Go" button. The more complex technique works for multiple buttons and keys other than <Enter>. Registering a KeyDown Event Handler Let's start with…   More »

Adding auto-complete to an input textbox

Monday, April 6th, 2015 by June Blender
Follow @juneb_get_help Well-designed user interfaces make it as easy as possible for the user to enter the right input in the right format. One of the most effective ways to help a user is to provide suggested input or automatically complete the input that the user begins to type. As a UI newbie, I thought that implementing a sophisticated feature like auto-complete was going to be very difficult, but I was surprised at how very easy this task is in PowerShell Studio. Honestly, I set aside a week to do this and it took me 10 minutes – 30 minutes…   More »

Customizing the Console

Tuesday, October 7th, 2014 by June Blender
Even though I’ve been writing scripts for years, I find that I work in the Console Pane in PowerShell Studio 2014 almost as much as I work in the Editor Pane. I use the Console Pane to look up commands and syntax (Get-Command), test a parameter value, or work through the details of a pipeline or a formatting technique before I add it to a script. And, there are many things I do interactively. So, I’m pretty picky about the way my console looks and operates. When I set up PowerShell Studio 2014 on a new machine, one of the…   More »

Online and SPECIAL FORCES Training Registration Now Open

Thursday, March 13th, 2008 by Don Jones
 We've opened registration for all upcoming training. Details about online training at www.scriptinganswers.com/training/online Online training registration is at http://www.scriptingoutpost.com/c-25-scriptinganswerscom-online-classes.aspx; read the details first!!! Classes start in June. Fundamentals, Intermediate, and Advanced training is available.   Details about live SPECIAL FORCES training for PowerShell is at www.scriptinganswers.com/training/ilt Registration for SPECIAL FORCES is at http://www.scriptingoutpost.com/p-18-special-forces-training-windows-powershell.aspx - again, read the details first!!! This is "no experience required" training with a very intense, fast-paced format focused on accomplishing real-world tasks …   More »