Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Hostname from script

Hostname from script

2004-05-12       - By kim aldis

 Back
Reply:     1     2     3     4  

thanks all.


 __ __  

From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of
Alain Laferrière
Sent: 12 May 2004 12:03
To: XSI@(protected)
Subject: RE: Hostname from script


Hi Kim,

var wsh = new ActiveXObject("wscript.network")
var user = wsh.username
var host = wsh.computername
logmessage( "username : " + user );
logmessage( "host : " + host );

Alain

 __ __  

From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of
kim aldis
Sent: Wednesday, May 12, 2004 7:19 PM
To: XSI@(protected)
Subject: Hostname from script


I know this has been asked before but has anyone got a quick and easy method
for getting hostname in a jscript script?

cheers,


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=093474111-12052004><FONT face=Arial
color=#008080 size=2>thanks all.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid;
MARGIN-RIGHT: 0px">
 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
 <HR tabIndex=-1>
 <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected)
 [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Alain
 Laferrière<BR><B>Sent:</B> 12 May 2004 12:03<BR><B>To:</B>
 XSI@(protected)<BR><B>Subject:</B> RE: Hostname from
 script<BR></FONT><BR></DIV>
 <DIV></DIV>
 <DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
 class=611260111-12052004>Hi Kim,</SPAN></FONT></DIV>
 <DIV dir=ltr align=left>
 <P><FONT size=2>var wsh = new ActiveXObject("wscript.network")<BR>var user =
 wsh.username<BR>var host = wsh.computername<BR>logmessage( "username : " +
 user );<BR>logmessage( "host : " + host );</FONT></P></DIV>
 <DIV><SPAN class=611260111-12052004><FONT face=Arial color=#000080
 size=2>Alain</FONT></SPAN></DIV>
 <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
   <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
   <HR tabIndex=-1>
   <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected)
   [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>kim
   aldis<BR><B>Sent:</B> Wednesday, May 12, 2004 7:19 PM<BR><B>To:</B>
   XSI@(protected)<BR><B>Subject:</B> Hostname from
   script<BR></FONT><BR></DIV>
   <DIV></DIV>
   <DIV><SPAN class=734381810-12052004><FONT face=Arial size=2>I know this has
   been asked before but has anyone got a quick and easy method for getting
   hostname in a jscript script?</FONT></SPAN></DIV>
   <DIV><SPAN class=734381810-12052004><FONT face=Arial
   size=2></FONT></SPAN>&nbsp;</DIV>
   <DIV><SPAN class=734381810-12052004><FONT face=Arial
   size=2>cheers,</FONT></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>