Re: [script] Equivalent of os.system() in JScript?

Date : Wed, 07 Feb 2007 13:55:28 +1100
To : XSI(at)Softimage.COM
From : Chris Gardner <chrisg(at)chris-g.net>
Subject : Re: [script] Equivalent of os.system() in JScript?

you could embed the sound in a flash movie and use something to trigger it's play state...


chrisg


Bernard Lebel wrote:
Thanks Matt. I wanted to do that from a webpage.

The WSH object seem to be the way to go, it works. But it's painful!
In this case it was the sound recorder.


var oShell = new ActiveXObject( "WScript.Shell" ); oShell.Exec( "<path to executable> /option /option <file to execute>" );


If anyone has better tips on how to play sounds from a webpage, I'm all ears!



Cheers Bernard

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