Windows Script Host Bazaar
     
WSH 2.0 Developer's Guide(English)

Advanced Develoment w. WSH 2.0 (English)

Inside WSH (Deutsch)

Scriptsicherheit (Deutsch)

WSH Tutorial Light (English)

ComputerBild WSH-Kurs (Deutsch)

Reader's Feedback

 

WSH Books, Tutorials & Articles

Below I introduce several WSH books I wrote for Microsoft Press Germany and Microsoft Press USA. There are also articles and some sample material from the books.

Nachfolgend werden verschiedener WSH Titel, die ich bei Microsoft Press veröffentlicht habe, vorgestellt. Zusätzlich finden Sie Leseproben (als Mini-Tutorial) und weitere Artikel.

Microsoft Windows Script Host 2.0 Developer's Guide

Microsoft®  Windows® Script Host 2.0 Developer's Guide Microsoft® Windows® Script Host 2.0 Developer's Guide
Author Günter Born
Pages 528
Disk 1 CD
Level Intermediate
Published 08/16/2000
ISBN 0-7356-0931-4
Price $49.99 US ($72.99 Cdn)
Visit Microsoft Press website at mspress.microsoft.com to find out how to save up to 34% off suggested retail price when you buy there!

About the Book

Discover how to automate routine PC tasks to save time and effort!

Windows® Script Host (WSH) is a powerful, flexible tool for automating recurring PC tasks. MICROSOFT® WINDOWS SCRIPT HOST 2.0 DEVELOPER’S GUIDE is a complete guide to using WSH to unlock the power and performance of your PC through automation. It’s packed with details about all major features of WSH, plus related topics such as how to extend WSH features using custom ActiveX® components and how to access other Automation objects. It also provides in-depth information on how to use WSH with two popular scripting languages: Microsoft Visual Basic®, Scripting Edition (VBScript), and Microsoft JScript®. This book is ideal for anyone who works with automation scripts—from the programming novice who wants to learn the basics to the adept scripter who creates scripts in Perl, Python, TCL, or other scripting languages. Learn how you can do all this and more with a single mouse click or keystroke sequence:

• Back up or restore files, shut down or restart Windows, and perform other shutdown and startup routines.
• Launch a Microsoft Office application; load, process, and print a document; and close the application.
• Directly access the Windows shell and Windows application programming interface (API) to create shortcuts, map drives or printers, and control applications.
• Read environment variables or retrieve information about Windows, and display dialog boxes to learn about an application’s status or to retrieve user input.

Why use MS-DOS® batch files, macro recorders, or costly, difficult third-party Automation tools when you can use the most powerful, intuitive, free automation tool for Windows? Windows Script Host 2.0 lets you create and execute scripts to tailor your Windows system for your own needs—simply and with complete programmatic control.

Advanced Development with Microsoft Windows Script Host 2.0

  Advanced Development with Microsoft® Windows® Script Host 2.0
Author Günter Born
Pages ---
Disk 1 CD
Level Intermediate, Advanced
Published cancelled by Microsoft Press
ISBN 0-7356-xxxx-x
Price $xx.xx US

About the Book

It continues where the title "Microsoft Windows Script Host 2.0 Developer's Guide" left. The book is written for advanced WSH scripters. It covers advanced topics like accessing Microsoft Office from WSH scripts, ADO, ADSI and WMI scripting and much more. Other issues are accessing Windows API and extend WSH features using ActiveX controls. The controls mentioned in the book will be developed step by step using VB 5 CCE. So you can have a closer look at the internals of the ActiveX controls offered for download in the WSH Bazaar.

Because Microsoft has canceled this book, I have prepared the (raw) material as an electronic book in Adobe Acrobat PDF-format. The PDF version is available (as donation ware) for readers of my Developer's Guide. Use the following links to download the zip files.

Table of content, Part 1a, Part 1b, Part 1c,
Part 2a Part 2b Part 2c , Samples

Please contact me to get details how to unzip the protected archive files. I need your name, e-mail-address, city and country you are living. Leser aus Deutschland, der Schweiz oder Österreich bitte ich um Verständnis, dass ich das Tutorial aus lizenzrechtlichen Gründen nicht anbieten kann - die benötigten Informationen finden sich in dem von mir bei Microsoft Press Deutschland publizierten Titel "Inside Microsoft Windows Script Host". Zudem gibt es den ComputerBild WSH-Kurs für Einsteiger.

Inside Microsoft Windows Script Host

Inside Windows Script Host - 3. Auflage
Windows Script Host für Power-User, Programmierer und Administratoren
Autor Günter Born
Seiten 857
Disk 1 CD
Bereich Programmierung
Published 5.2002
ISBN 3-86063-673-1
Preis 44,90 Euro

Microsoft Press Deutschland http://www.microsoft.com/germany/mspress

Kurzbeschreibung:
Der Windows Script Host geht in die dritte Runde! Power-User, Programmierer und Systemadministratoren haben Nutzen und Möglichkeiten des Windows Script Host in seiner Version 5.6 entdeckt und beginnen wiederkehrende Aufgaben oder die Systemadministration durch Skriptprogramme zu automatisieren. Die zweite, wesentlich erweiterte Auflage des ersten zum Windows Script Host erschienenen Buchs trägt dieser Entwicklung Rechnung und überzeugt durch Profiwissen und viele nützliche Detailinformationen. Es ergänzt die nur spärlich vorhandene Dokumentation und geht insbesondere auf die Möglichkeiten des Scriptings von Windows 2000 und Windows XP ein. Klar verständlich, mit vielen Beispielen und Hintergrundinformationen zeigt es Ihnen, wie Sie unter Windows Anwendungen realisieren, die in ihrer Leistungsfähigkeit an Visual Basic-Programme heranreichen. Automatisieren Sie Windows mit gänzlich neuen Funktionen und passen Sie es Ihren Bedürfnissen an.

Zusatzinformationen:
Das Buch wurde im January 1999 als "Inside Windows Scripting Host" von Microsoft Press Deutschland publiziert. Seit Mai 2000 ist die erweiterte und auf WSH 2.0 aktualisierte Auflage mit 862 Seiten als "Inside Windows Script Host" verfügbar. Gegenüber der ersten Auflage befasst sich der Titel zusätzlich mit WSH 2, ADO, ADSI, WMI und weiteren Themen. Die dritte aktualisierte Ausgabe geht auf WSH 5.6 und Windows XP ein.

Hier noch etwas Material im Adobe Acrobat PDF-Format als ZIP-Archiv:

Inhaltsverzeichnis (2. Auflage 54 KB)
Leseprobe (z.Z. nicht verfügbar) (ausgesuchte Kapitel der 1.Auflage, 2.6 MB)

Scriptsicherheit

Spätestens seit der Love-Letter-for-you.txt.vbs Virus viele Anwender beglückte, begann die Diskussion um die Sicherheit von Windows im Hinblick auf WSH. Einige Zeitschriften veröffentlichten den Tipp, WSH aus Windows zu löschen. Der folgende Artikel im PDF-Format zeigt, dass diese Tipps Unsinn sind und teilweise nicht funktionieren. Es wird aber diskutiert, wie Sie WSH wirksam vor der Dummheit der Anwender schützen und die Möglichkeit zur Verbreitung von Viren per WSH unterbinden. Da der Beitrag erst nach Drucklegung des Inside Windows Script Host Titels verfasst wurde, habe ich die Fassung zum Download für die Leser bereitgestellt.

Skriptsicherheit (54 KB)

The document entitled Scriptsicherheit deals with script security (how to protect your systems against script viruses). Because this topic rised after finishing my Inside Windows Script Host, 2nd edition, my German reader may download this PDF document. I haven't translated it to English, because a revised version is already contained as an appendix in the Microsoft Press title Microsoft Windows Script Host 2.0 Developer's Guide.

WSH Tutorial Light (Free Stuff)

WSH Short Tutorial Lite is a free primer to start with WSH scripting. The tutorial is derived from the first edition of my German Microsoft Press title Inside Windows Scripting Host I wrote in winter 1998. Although the material is written in English, I'm not a native speaker - so still grammatical and typographical errors may remain. But I hope the tutorial is still valueable to start WSH scripting. Download the ZIP archive, unpack the Adobe Acrobat PDF files to a separate folder and launch the file 1WSHToc.pdf. This file contain the TOC and the bookmarks to the other chapters of the tutorial.

Chapter 1 contains a brief WSH introduction , whilst chapter 2 discusses development techniques and tools. Chapter 3 deals with the principles to create dialogs in WSH scripts. Chapter 4 introduces how to use objects, how to obtain script arguments and how to execute other applications. Chapter 5 discusses ways to obtain user input from scripts. Chapter 12 introduces a few programming hints. Appendices C and D teaches VBScript and JScript. The preview contain also the table of content and a description of the WSHExtend control. To view these chapters, you need the Adobe Acrobat reader (which may be downloaded for free from Adobe's website www.adobe.com). The full and WSH 2 ready version of the WSH Tutorial Light is available as the Microsoft Press title Microsoft Windows Script Host 2.0 Developer's Guide.

ComputerBild WSH-Kurs

In der Zeitschrift ComputerBild wurde ab Ausgabe 12/99 ein zwölfteiliger WSH-Kurs und ab 18/2000 ein vierteiliger WSH 2-Kurs aus meiner Feder veröffentlicht. Die einzelnen Kurseinheiten lassen sich als PDF-Dateien abrufen.

Computerbild-Kursseite

Links auf die Einzelkurse
Grundlagen/Installation Jscript/VBScript: Grundlagen Jscript/VBScript: Ein-/Ausgaben Jscript/VBScript: Schleifen & Co Jscript/VBScript: Prozeduren & Funktionen WSH: Objekte, Methoden, Eigenschaften WSH: Erste Beispiele WSH: Anwendungen ausführen WSH: Zugriff auf Windows, Teil 1 Zugriff auf Windows, Teil 2 WSH: Datei-Operationen WSH: Im Verbund mit Office & Co WSH 2.0: Grundlagen/Installation WSH 2.0: Programmabläufe per WSH steuern WSH 2.0: Anwendung des WSF-Formats in Skripten Weitere WSH-2.0-Neuerungen

That's what they say about my books

Since I released the German and English WSH books, I got many feedbacks from my readers. All of them encouraging me to continue with this topic. Here are a few comments:

A few English comments:
I started on the book. It looks great and
is packed with a lot of information. I feel
like eyes just opened regarding WSH. Thanks
...
Robert S., USA
The book looks very well organized and the
material is focused on actual application,
which I like. It also seems comprehensive
and covers a lot of topics! ...
From what I have seen, this is an excellent
book....

Jay H., USA
I am enjoying reading your book (MS Windows Script
Host 2.0 Dev. Guide). Your book is very well
written. I am very new to WSH and I think
your book is a great start for me.

Surush C., USA

Thanks for writing and having published the "Windows
Script Host 2 Developers Guide". It brings a lot of
very important developer concepts together clearly.

Michael G., USA

Thank you... your book is magnificent! I have worked
with WSH, but it seemed as though I was always hitting
some sort of syntax or run-time errors that prevented
me from using the scripting language as fluently ...

... I am the Director of Information Technology for
a company that, because of legacy proprietary
programs and devices, has a network that must
incorporate DOS 5.0, 6.22, WIN 3.1, WFW 3.11,
Win95, 98, 2000, NT4, and Novell 3.12 into daily
life. While batch files ore OK for the older OSs,
they are clunky at best in Win9x, and Win2000
doesn't really like them at all. I have known
about WSH for some time, but I never had
the time to "figure out" all of the little
roadblocks I was encountering in its
implementation.

When I first saw the cover price of your book, I
thought to myself "yeow!" as I picked myself up off
of the bookstore floor... however, in very short order,
I discovered the answers to my most pressing WSH
problems. I bought the book (it's actually worth twice
the price), recommend it to anyone who knows what
scripting is, and I can hardly wait for the next
advanced edition. As you state, scripting is a very
powerful, hot technology, and until now, it has
been under-documented and perhaps even under-rated.
Again, thank you for your fine book.

.... thanks for all of your fine books (the Registry
books, etc) I have a lot of them.

Steve S., USA

Your book is very well written and easy to follow and
understand. I can recommend your book very highly even
though I have not finished reading it yet.

Gary Mc. L., Bank of America

Your book "Microsoft Windows Script Host 2.0 Developer's
Guide" refers to an upcoming book ...

... The first one has whetted my appetite, and I am looking
forward to seeing the second.

Don R., USA

And some comments from German readers:

Ich bin stolzer Besitzer Ihres Buches
"Inside WSH" ISBN: 3-86063-495-X.
... bin ich noch nicht sehr weit gekommen
in Ihrem Buch. Was ich aber bereits sagen
kann ist, dass Sie gut verständlich
schreiben, was ich sehr schätze....

Rolf, Switzerland
>(oder Sie gehen über die Linkseite meines
>WSH Bazaars auf meiner Homepage
>- im englischen Teil in der HotZone).
die ich (mit Metacrawler?) bei einer Suche
nach WSH bereits vor Buchkauf fand. Ihr
Lebenslauf dort war mit ein Grund zum Kauf:
wer so ein EDV-Dino-Praktiker ist, schreibt
sicher auch Bücher mit Hand&Fuss ...
so isses

Grüessli aus Züri, andreas l.
Ich habe mir inzwischen Ihr Buch gekauft und
mit großem Interesse gelesen. Es wirklich
fantastisch. Ich habe viele Anregungen
bekommen -- und noch mehr gute Ideen.
Friedemann S., Germany
ich habe vor ein paar Tagen Ihr oben
genanntes Buch gekauft, und ich muß sagen,
ich finde es sehr gut... Wenn es Sie
interessiert, in der nächsten Ausgabe des
VBA-Magazins (4/99) wird eine Buchkritik
dazu erscheinen.

Helma S., Germany 
ich lese gerade Ihr Buch "Inside Windows
Scripting Host". Das Buch ist eine grosse
Hilfe fuer mich und sehr gut geschrieben...

Rudi H., Germany

Back

Copyright (c) by Günter Born
All Rights Reserved