Re: Windows Script Host (WSH)

Date : Wed, 29 Nov 2006 19:09:19 -0500
To : XSI(at)Softimage.COM
From : Patrick Boucher <patrickb(at)buzzimage.com>
Subject : Re: Windows Script Host (WSH)
Why Robert, Why?

import getpass
getpass.getuser()


... Hmmm... Maybe I should add 'Python evangelist' to my email sig.

--
Patrick Boucher
TD - Coder - Resident geek
Buzz Image Group
Tel 514.848.0579
Fax 514.848.6371

www.buzzimage.com
www.xsi-blog.com



Robert Moodie 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.