Calling this method yields an object which can be used to communicate with another application residing in the same computer.
For example, this code creates an object that references the Word application:
myWord = WScript.CreateObject("Word.Application");
From here we can reference the application via the object. This makes the Word application we just instantiated visible to the user:
myWord.Visible = true;
Prev | Home | Next |
WScript.Arguments | Up | WScript.DisconnectObject() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |