Re: Windows Script Host (WSH)

Date : Wed, 29 Nov 2006 19:37:36 -0500
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : Re: Windows Script Host (WSH)
In worst case scenario you could also use:


var CurrentUser = XSIUtils.Environment( "USERNAME" );


Cheers Bernard



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;



robert moodie
td | Hybride
www.hybride.com
---
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.