Javascript and XUL questions:

For everything that's not in any way related to PureBasic. General chat etc...
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Javascript and XUL questions:

Post 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!.
akee
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: Javascript and XUL questions:

Post 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")
Post Reply