Re: External (j)script

Date : Tue, 2 May 2006 13:31:49 -0700
To : XSI(at)Softimage.COM
From : "Chris Trimble" <trimbo(at)gmail.com>
Subject : Re: External (j)script
 
So... bottom line... there is no way to COM-script XSI from outside of the app, a la the way Photoshop CS or Excel can?
 
  C


 
On 5/2/06, Stephen Blair <Stephen_Blair(at)softimage.com> wrote:
You've got to do it from within XSI.
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf Of John Bell
Sent: Tuesday, May 02, 2006 2:30 PM
To: XSI(at)Softimage.COM
Subject: Re: External (j)script

Alright, but, is it possible to just hook into XSI just by running a standalone .js script or do they always have to be run from within the running instance of XSI.

I saw an example that demonstrated how a connection could be made to Outlook and an email could be sent - this was done from within XSI.

I am wondering if a similar thing can be done where a standalone script can connect to XSI. I haven't fully considered the practicality of it, but for the purpose of learning more about programing and ActiveX objects and how different programs can work together, I find it an interesting concept.






Stephen Blair wrote:
That code works in an HTML page...when the page is viewed in NetView.


From: owner-xsi(at)Softimage.COM [ mailto:owner-xsi(at)Softimage.COM] On Behalf Of John Bell
Sent: May 2, 2006 1:50 PM
To: XSI(at)Softimage.COM
Subject: External (j)script

 
I am trying to have an external jscript hook into a running instance of XSI. The SDK documenation provides the following example:

   var xsi_app = new ActiveXObject( XSI.Application );
   var app = xsi_app.Application;
   app.LogMessage( "Initiating NetView session" );


Do I have to set anything up or install anything before this code works, or should it work as typed in an external jscript? Ultimately I would like to be able to access  XSI and all of its commands, objects, methods, and properties from an external jscript. Does anyone know of or have any examples of how this is accomplished?

Thanks
--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
--- 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.