This post discusses the DialogResult property of buttons, which often confuses beginning PowerShell GUI app designers. When I first started learning how to write PowerShell GUI applications, I thought of the DialogResult property of buttons as the “evil property.” What else would I think? If the DialogResult property of a button is set to any […]
Category: Beginners
Where are v3 and v4? PowerShell Versions in PowerShell Studio
In this post, we explain why PowerShell Studio can run your scripts only the versions of Windows PowerShell that are installed on local and remote computers. If you’ve recently upgraded to Windows 10 from Windows 7, 8, or 8.1, you’ll notice quickly that you now have Windows PowerShell 5.0. Depending on your upgrade path and […]
Spotlight on the Label Control
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 […]
Displaying Help for a Script in an Executable File
This is the third blog in a multi-part series about designing a Windows PowerShell scripts 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
This is the second 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. […]
Create a PowerShell GUI App with a Fixed-Size UI
The newest video in our “Check out this feature” series is actually an answer to a great question that was posed to me on Reddit. A PowerShell GUI with a Fixed-Size UI shows you how to use the features of PowerShell Studio to create a PowerShell GUI app that the end-user cannot resize. A fixed-size […]
Rewind: A Built-In Safety Net in PowerShell Studio
We just released the second video in our “Check out this feature” series, a series of short videos that focus on features you might have missed. Our first video, Function Builder in SAPIEN PowerShell Studio, demonstrated our awesome automation for function and parameter syntax. Our second video, Rewind in PowerShell Studio: A built-in safety net […]
New! “Check out this feature” Videos
How many times have you found about a feature of a SAPIEN product, like PowerShell Studio, and realized that 1) you never knew it existed and 2) it would have saved you gobs of time had you only known about it. We’re introducing a new series of videos on our SAPIEN Technologies YouTube channel to […]
Scope in a PowerShell GUI App
If you search the SAPIEN blog, you’ll realize that this is the not our first blog about scope in PowerShell GUIs. In March 2013, SAPIEN CTO Alex Riedel wrote First Rule of PowerShell Scoping Rules, a title that implies the final word in a discussion that wasn’t easy to end. Alex’s blog explained the differences […]
The Methods that Register Events
If you create PowerShell GUI apps in PowerShell Studio, you become very familiar with the events of the Windows Forms types, like the Load event of forms, the Click event of buttons, and the TextChanged event of textboxes. PowerShell Studio handles most of the background details of event management for you, but it’s useful and […]