Re: JavaScript Interpreters/Engines?




"MohsinHijazee" <mohsinhijazee@xxxxxxxxx> wrote in message
news:01e7b037-e3d1-4aaf-b340-6ab32e980d7e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jan 16, 11:53 am, morbidKK <ketan.khair...@xxxxxxxxx> wrote:
On Jan 16, 11:49 am, MohsinHijazee <mohsinhija...@xxxxxxxxx> wrote:

Hello there!
What if I want to give my desktop application some scripting
capabilities by exposing the object model of it. How do we do that?
Are their any JavaScript Execution Engines out their?

Regards,
Moshin

If you want to build local desktop applicaitions..microsoft have
something called as HTAs : HTML Applications.. if you have idea about
HTCs (HTML components).. you can build them right away using
JavaScript

My answer may not answer your question though please elaborate..what
exactly you want to do
Regards,
Ketan

I mean that some applications expose their object model to be consumed
by clients. For example, Microsoft word itself exposes and object
model which you can utilize to automate the tasks for your routine
work. And for that, Visual Basic is the language. Suppose I have an
application of my own in C++ and I expose the object model of it but I
want that it should be programmable in JavaScript.
Definately, for that I would need some execution engine that can
execute the javascript. So is there any open source implementation out
their?
Not sure I conveyed what I am trying to say... But anyhow thank you
very much for your response!

Microsoft also has the MS Script Control, which will host VbScript / JScript
(and supposedly any IActiveScript capable script Engine). It is an ActiveX
component that Is pretty easy to work with.

Regards,
Mohsin


.



Relevant Pages

  • Re: JavaScript Interpreters/Engines?
    ... Are their any JavaScript Execution Engines out their? ... I mean that some applications expose their object model to be consumed ...
    (comp.lang.javascript)
  • Re: JavaScript Interpreters/Engines?
    ... Are their any JavaScript Execution Engines out their? ... I mean that some applications expose their object model to be consumed ...
    (comp.lang.javascript)
  • Re: Using ADO from JavaScript in HTML to change a spread sheet
    ... you described works from JS script but not from JavaScript in HTML. ... to do with the Application Object Model of the user agents that support ...
    (comp.lang.javascript)
  • Re: JavaScript Interpreters/Engines?
    ... Are their any JavaScript Execution Engines out their? ... SpiderMonkey is a JavaScript engine. ... language but about APIs. ... I understood the OP that they want to expose the object model as an API to ...
    (comp.lang.javascript)
  • What are Document Object Models?
    ... An Object Model is provided by a host system to allow JavaScript ... Active Server Pages, Server Side JavaScript, and Windows Script Host. ...
    (comp.lang.javascript)