Re: Windows Script Host (WSH) -- way beyond that subject by now

Date : Thu, 30 Nov 2006 13:17:06 -0500
To : <XSI(at)Softimage.COM>
From : "Robert Moodie" <robertm(at)hybride.com>
Subject : Re: Windows Script Host (WSH) -- way beyond that subject by now
(me + beer) x Montréal = Magic in the air ;-)
 
 
 
----- Original Message -----
Sent: Thursday, November 30, 2006 12:53 PM
Subject: Re: Windows Script Host (WSH) -- way beyond that subject by now

You know, with alot of beer and a little magic in the air, I once saw... no wait, that wasn't Rob.  Then who was it? And where was I?

Kim Aldis wrote:

And how would you know that he?s a *true* blonde? Come on, fess up.

From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Jonathan Paquin
Sent: 30 November 2006 15:18
To: XSI(at)Softimage.COM
Subject: Re: Windows Script Host (WSH)

May I remind you Rob that you *ARE*  blond...

Robert Moodie wrote:

Cheers all, I was having a 'blonde moment'...

----- Original Message -----

Sent: Wednesday, November 29, 2006 5:46 PM

Subject: RE: Windows Script Host (WSH)

This should work

var WshNetwork = new ActiveXObject("WScript.Network");

var CurrentUser = WshNetwork.username;

logmessage (CurrentUser)

Biju


From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Robert Moodie
Sent: Wednesday, November 29, 2006 5:02 PM
To: XSI(at)Softimage.COM
Subject: Windows Script Host (WSH)

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




-- 
Jonathan Paquin
Animateur 3D - Buzz Image


-- 
Jonathan Paquin
Animateur 3D - Buzz Image

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.