Real’s Howto WSH VBScript

Reals Howto WSH VBScriptThese How-to’s are about the usage of VBScript used with the Window Scripting Host (WSH). WSH enables scripts to be executed directly on the Windows desktop or command console, without the need to embed those scripts in an HTML document. Scripts can be run directly from the desktop simply by clicking on a script file ( .vbs for VBScript), or from the command console. The WSHost is included with all recent Windows versions or it can be freely downloaded from Microsoft or here
Read more

Understanding the Windows Scripting Host

Understanding the Windows Scripting HostOne of Windows’s most notable deficiencies when compared with other operating systems is its lack of a batch language for automating tasks. Although the underlying MS-DOS supports batch files, they are of little use in the Windows environment: under Windows 3.1 you can’t even launch Windows programs from batch files. Support staff wishing to automate tasks for their users have been forced to use third-party tools like Wilson WinBatch or JP Software’s Take Command. Because these tools are not part of Windows, they must be separately installed before they can be used. Licensing of these toolsmeans that additional costs are often incurred, which, if the budget is not available, becomes a problem.
Read more

Adobe InDesign CS3 Scripting Guide VBScript

Adobe InDesign CS3 Scripting Guide VBScriptThis document shows how to do the following:
.Work with the Adobe® InDesign® scripting environment.
.Use advanced scripting features.
.Perform basic document tasks like setting up master spreads, printing, and exporting.
.Work with text and type in an InDesign document, including finding and changing text.
.Create dialog boxes and other user-interface items.
.Customize and add menus and create menu actions.
.Respond to user-interface events.
.Work with XML, from creating XML elements and importing XML to adding XML elements to a layout.
.Apply XML rules, a new scripting feature that makes working with XML in InDesign faster and easier.
We assume you already read Adobe InDesign CS3 Scripting Tutorial and know how to create, install, and run scripts.
Read more

Simple Dialogs in WSH

Simple Dialogs in WSHMost WSH scripts show results in dialog boxes or ask for user input. This chapter introduces a few techniques offered in JScript and VBScript to create dialogs within WSH scripts.
Read more

VBScript Language Reference VBScript Data Types

VBScript Language Reference VBScript Data TypesVBScript has only one data type called a Variant. A Variant is a special kind of type that can contain different kinds of information, depending on how it’s used. Because Variant is the only data type in VBScript, it’s also the data type returned all functions in VBScript.
Read more

Next Page →