Windows Scripting

One of the exciting features of Win32 platforms is their support for scripting. Although such support is not new to computer science, it is fairly new to Microsoft’s operating systems.

The scripting capability introduced by Win32 platforms is known as Windows Script Hosting (WSH). This technology enables any language to register a scripting engine. Such an engine is a COM server component (refer to Chapter 5, “Automation,” for details on COM servers). This enables any application to execute a script, regardless of language.

To better describe this, consider a word processor that uses WSH technology as its macro language. This means that a user could create macros in PerlScript, VBScript, or even JavaScript. As long as there ...

Get Win32 Perl Programming: The Standard Extensions, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.