Per forum request, this blog provides examples of how to access the packager’s command line arguments as well as provide some useful functions to parse the contents. These examples apply to PrimalForms 2009’s Packager and as well as PrimalScript 2009’s packager. The package’s script host provides a convenient string variable named $CommandLine. This variable contains […]
Category: PrimalScript
How safe are my scripts in PrimalScript/PrimalForms packages?
This is a question that has come up a lot lately. Our Script Packager used in PrimalScript 2009 and PrimalForms 2009 stores the scripts and additional data files encrypted and in some cases, compressed inside the executable.Some formats create temporary files and use the original Windows tool to run a script; others execute directly from […]
PowerShell modules and PrimalScript’s Object Browser
The next service build of PrimalScript 2009 (5.0.622) will show registered modules in the object browser under the PowerShell node. Modules have not to be loaded by default to show in the browser, just like snapins they load on demand when you expand a node. This allows you to browse the registered modules on your […]
December Sale
Happy Holidays from the gang at SAPIEN. To celebrate the holiday season, everything at ScriptingOutpost.com is on sale for the month of December! Prices have been reduced 25% on everything offered at ScriptingOutpost.com. So drop by our store and pick up what you need before the year ends! Offer is not available through resellers. Offer […]
Extending PrimalSense for external PowerShell snapins
Getting PrimalSense for a COM object that you didn’t have installed on your development machine is fairly simple: Copy the TLB file (type library) to you machine, associate it to a progid and you are all set. With PowerShell Cmdlets it is not quite that easy. Say you have to use a snapin that is […]
Installer change for PrimalScript 2009
PrimalScript has a long history of using InstallShield installers (since version 1.0). Having used one installer product since 1997 creates quite a history, so making a change was not an easy decision. With the next service build (5.0.621) PrimalScript 2009 will start to use the same Advanced Installer that all other SAPIEN products are currently […]
Get-GuiDate: A PowerShell Calendar Tool
Forms and dialogs can augment PowerShell scripts or even resurface them completely to make them more friendly for people who aren’t familiar with the command line. In some cases, a form can even function as a complete script in and of itself. The Get-GuiDate script, developed from a prototype written with PrimalForms, is an example of a script that is completely centered around a control (the Windows.Forms.MonthCalendar control) embedded in a Windows Form.
Windows IT Pro Community Choice Awards
Windows IT Pro is running their annual community choice awards. SAPIEN software is nominated in several categories and we would like you to go and vote for our products if you can. The following products and services have been nominated in their respective categories: Best Database Management Product: PrimalSQL 2009 Best Development Tool: PrimalForms 2009 […]
Registry access from 32 to 64 bit and back
Just recently, I received an email asking how you can access the 64 bit registry from a 32 bit script, or vice versa. The task the individual was facing was to come up with a way to verify installed applications via checking the corresponding Windows Installer registry entries. For a C++ programmer with access to […]
Attention User Groups
We are sending our CEO and CTO on tour! SAPIEN Technologies will be visiting a number of user groups within the US to meet and discuss ideas, present new exciting products and to get feedback from you, our customers and users. Of course we will also sponsor those meetings with cool prizes and whatever goodies […]