Subj : Re: JavaScript CLI shell - hooks and handles? To : comp.lang.javascript,netscape.public.mozilla.jseng From : David Bradley Date : Sun Feb 09 2003 07:18 pm XPCShell was created along with XPConnect, and provides the Components property on the global object along with various utility functions. You can access most of the Mozilla components through the Components property. XPCShell documentation can be found here -> http://www.mozilla.org/scriptable/XPCShell.html You can find out more about the Components property here -> http://www.mozilla.org/scriptable/components_object.html And other XPConnect/scriptable things here -> http://www.mozilla.org/scriptable/ David Bradley Gordan wrote: > Brendan Eich wrote: > > >>Gordan wrote: >> >> >>>Hi! >>> >>>What non-standard JS extensions are available on the CLI JS shell? I have >>>found that there is a way to read command line parameters, but are there >>>functions to provide stdin/stdout/stderr? Are there file I/O functions? >>>Are there built in network/web access functions of the lines of >>>XMLHttpRequest() that would allow downloading of external files? >>> >> >>You should try xpcshell. It's built along with mozilla-bin when you >>build Mozilla-the-big-multi-app-suite thing. > > > What is xpcshell? Does it include some of Mozilla's DOM functionality? Most > importantly, is it documented? > > Regards. > > Gordan .