Why is there a shield on my icon?

If you package your script with PrimalScript’s or PrimalForm’s packager you have the option of including a manifest. This manifest can be used to make your executable file prompt for elevation when executed. It’s easy to spot the difference between an application that will prompt for elevation and one that does not by looking at […]

Read More

Which font do you use for programming?

SAPIEN code editors usually default to “Courier New” when you install them first. The reason for that is simple: It’s installed on virtually every Windows system since Windows 98. Once in a while we get a wave of emails asking us to change that default to whatever the author prefers. Here is a brief, albeit […]

Read More

PrimalForms 2011: Creating Responsive Loops

In the PrimalForms: Preventing Multiple Button Clicks blog article, we introduced the [System.Windows.Forms.Application]::DoEvents method, which allows the application to process form events. This method also becomes very useful when you have a script that runs through a long loop. Here is a sample loop with a progress bar you may encounter in your script: $buttonProcessLoop_Click={ […]

Read More

Benchmarking Scripts: Strings

The latest build of PrimalScript 2011 has a new little toy built in. If you run a script from within PrimalScript, it will time the execution and print the elapsed time after the script has finished in the output window. While this isn’t exactly a profiler of any kind, it can be helpful to evaluate […]

Read More

Spotlight on the Form 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 […]

Read More

Spotlight on Controls: Common Properties and Methods

The Spotlight on Controls series is designed to teach beginning GUI developers about controls, the WinForms (System.Windows.Forms) objects that you use in a GUI application. Each article feature a different WinForms control and introduces its most frequently used properties, methods, and events. Unlike the MSDN reference pages, the examples are written in Windows PowerShell, so […]

Read More

Search

Enter any query and press enter
Advanced search operators:
+ ⟶ Term must appear
- ⟶ Term must not appear
"" ⟶ Exact string must appear
How do I use these?

Join our mailing list

Enter your email address to subscribe to our mailing lists for Monthly Blog Digests, Product Announcements and more (you can choose which you receive once you sign-up!)

Tags

Categories

Archives

Dashboard