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