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 BellSent: Tuesday, May 02, 2006 2:30 PM
To: XSI(at)Softimage.COMSubject: Re: External (j)scriptAlright, 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:--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsiThat 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:
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
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
- Follow-Ups:
- Re: External (j)script
- From: Guy Rabiller <guy(at)alamaison.fr>
- Re: External (j)script
- References:
- RE: External (j)script
- From: "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
- RE: External (j)script
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: autoframing of rendertree
- Next by Date: Re: autoframing of rendertree
- Previous by Thread: Re: autoframing of rendertree
- Next by Thread: Re: autoframing of rendertree
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |