RE: Windows Script Host (WSH)

Date : Wed, 29 Nov 2006 17:42:53 -0500
To : <XSI(at)Softimage.COM>
From : "Luc-Eric Rousseau" <lucer(at)Softimage.COM>
Subject : RE: Windows Script Host (WSH)
btw, the current user, specifically, is available 
as an enviroment variable in windows.

> From: Ben Barker
> 
> var WshNetwork = XSIFactory.CreateActiveXObject("WScript.Network");
> 
> var CurrentUser = WshNetwork.username;
> 
> On 11/29/06, Robert Moodie <robertm(at)hybride.com> wrote:
> >
> > Does anyone get WSH to work in XSI with Jscript?
> >
> > e.g
> >
> >
> > var WshNetwork = WScript.CreateObject("WScript.Network");
> >
> > var CurrentUser = WshNetwork.username;

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.