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…
Read More
You have created the mother of all PowerShell scripts and spent endless hours honing its performance and catching error conditions. Now that you are rolling out this gem of a script to your users, you find out that they don’t…
Read More
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…
Read More
When you create a new file in PrimalScript you have several options:
1. Click on the File New button in the toolbar 2. Click the little arrow next to it to create a specific type of file 3. Select File…
Read More
Did you ever want to make your forms a little more flashy? How about creating an Awesome Fade In Form? Yeah that’s right I said Awesome!
[Start Deep Voice]
Everybody loves it when their forms make a smooth entrance. Ohhh…
Read More
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…
Read More
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…
Read More
A problem you may face when creating Graphical User Interfaces (GUI) is preventing users from clicking a button multiple times.
It is helpful for our users to learn how to handle this situation. In the following sample, we have a…
Read More
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.…
Read More
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…
Read More