Page 1 of 1

Javascript and XUL questions:

Posted: Tue Mar 08, 2005 12:01 pm
by dagcrack
I need to know this about xul and javascript:

Can I terminate a process from any of this languages?
Can I execute an exe from any of this languages?.. or .bat


Thanks!
its for a constrictive end. believe it or not
thats why im asking, need help!.

Re: Javascript and XUL questions:

Posted: Tue Mar 29, 2005 7:03 am
by akee
dagcrack wrote:I need to know this about xul and javascript:

Can I terminate a process from any of this languages?
Can I execute an exe from any of this languages?.. or .bat


Thanks!
its for a constrictive end. believe it or not
thats why im asking, need help!.

Not sure about terminating a process.

For executing. Something like this would work.

run.js

Code: Select all

oshell = WScript.CreateObject("WScript.Shell")
oshell.run("CMD")