Posts Tagged ‘VBScript’


 

PrimalScript 2012: What’s new? (Part 7)

Wednesday, May 9th, 2012 by Alex Riedel
Last time we told you about some new debugger features in PrimalScript 2012. And you already know all about the new Ribbon user interface this new version sports. One thing that we were really focused about in this version was to make navigating your code easier. Since there is no “PrimalSense” toolbar anymore the method combo box that enabled you to jump between functions needed to find a new home. If you load a file into PrimalScript 2012 you will notice the two new combo boxes on top of the edit window: The right-hand combo box serves as an indicator…   More »

PrimalScript 2012: What’s new? (Part 6)

Monday, May 7th, 2012 by Alex Riedel
VBScript users have told me on occasion that they are really jealous of one feature of PowerShell: Write-Debug Depending on the value of $DebugPreference this produces output when needed but makes it easy to silence diagnostic output once a script moves to production. VBScript and JScript developers have to sprinkle WScript.Echo calls through their code and then go and comment them out before handing the script off. In a large script with hundreds or even thousands of lines that can be a daunting and error prone task. You don't want to disable real output and not forget any diagnostic output.…   More »

How safe are credentials in script packages?

Monday, April 30th, 2012 by Alex Riedel
We get that question all the time. Before we start, please note that we do not advise to ever put credentials as plain text into any kind of code. Use encrypted strings, store encrypted credentials in files or, if all else fails, prompt. Now, having said that we all know that sometimes schedules and pressure from “above” forces you to do things you normally wouldn’t do. So for the sake of argument we have created a variety of executables which use SUPERADMINUSER and SUPERSTRONGPASSWORD to run a WMI query on SUPERSECRETSERVER. We used VBScript PowerShell C# C++ Obviously all of…   More »

Announcing – PrimalScript 2012

Wednesday, April 18th, 2012 by Ferdinand Rios
PrimalScript has been the premiere Scripting Integrated Development Environment since its introduction in 1998. With each iteration more functionality and more language support has been added and it has become more and more powerful. But with great power comes great responsibility; the responsibility to keep the product fresh and maintaining ease of use. Introducing PrimalScript 2012: [caption id="attachment_4123" align="alignnone" width="300" caption="PrimalScript 2012"][/caption] PrimalScript 2012 has had a complete UI redesign. Gone are the long, involved menus. A new ribbon-based user interface that makes finding and accessing functionality faster and easier takes its place. And even though the ribbon uses about…   More »

2012 Is The Year Of PowerShell—Are You Ready?

Tuesday, January 3rd, 2012 by Robert Morey
You really need to make PowerShell your top New Year’s Resolution because 2012 is *the* year of PowerShell.  Microsoft is putting it front and center in its Windows Management Framework 3.0 which is due sometime in 2012.  And you need to be ready for it.  Sure, you need to put exercise and a good diet at the top of your priorities, too, but you need to feed and exercise your brain as well.  Keeping your brain in shape will lead to job security, a fat wallet, and incessant praise from your colleagues and your end users.  Well, maybe not the…   More »

Why is there a shield on my icon?

Friday, December 16th, 2011 by Alex Riedel
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 the icon: Now, imagine the surprise if you get a shield on your icon and an elevation prompt when you run a file you packaged without a manifest. As you can see from the image below it's all in the name: I simply took the…   More »

PrimalPad gets a 2011 upgrade

Tuesday, September 6th, 2011 by Alex Riedel
PrimalPad gets upgraded with code folding, new languages and the ability to run scripts. With this new 2011 version of the ever popular Notepad replacement you get support for code folding in VBScript, JScript and PowerShell. Because some of you asked nicely, we also added SQL and Python to the languages supported by PrimalPad's syntax coloring. Last but not least, you can now run your script files from within PrimalPad. While it doesn't have PrimalScript's output capture abilities, it still works pretty well for some quick hit and run scripting. The tools menu is where you make it all happen.…   More »

VBScript Video Training Available as a Download

Wednesday, August 10th, 2011 by Robert Morey
We released our PowerShell Video Training as a download and the response was overwhelming!  Once again, you asked for it, you got it! Our VBScript Video Training set is now available as a download! This is the perfect way to learn VBScript with these self-paced videos.  Each set contains our VBScript 101, VBScript 201, VBScript 301, and full set of Electives!  You can read all about the set at http://sapien.com/training.  Purchase yours today at ScriptingOutpost.com. But that's not all! We put together the Complete PowerShell and VBScript Video Training set as well. If you are ready to dive into all the…   More »

Benchmarking Scripts: Strings

Monday, June 6th, 2011 by Alex Riedel
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 the time it takes to accomplish come common tasks. For example, let's look at concatenating strings. Almost every example script we see from users adds strings up to form reports, log files, CSV files and so forth. It's also not language specific, as we see…   More »

Feature Peek PrimalScript 2011: Debugging with arguments

Tuesday, March 22nd, 2011 by Alex Riedel
Many of the scripts you develop use command line arguments to specify data that needs to be passed to the script. In a production environment these parameters usually change for each invocation of a script. For debugging however most developers use a fixed set of test parameters for any given script, which allows you to easily reproduce the state you need for debugging a specific item. In the past that meant that for each script you had to manually set the parameters somewhere in a dialog box before debugging. It also meant that you somehow had to remember what the…   More »