Answer the question
In order to leave comments, you need to log in
How to link javascript running in browser to program running in windows?
Hello! It is necessary that javascript communicate with the program.
The simplest thing seems to be to have a file that is read (written) by both javascript and the program. How to implement it?
What else can you offer?
Answer the question
In order to leave comments, you need to log in
Set up an http/websocket server in the program and communicate well with the script.
I don’t know how it suits your tasks - but CEFSHARP, i.e. we write the type of our browser - we go to the site, we execute JS - we get data in any form.
Usually, an http server is raised in the program, and from the browser they go to it via http.
It is recommended to search for "<language_of_your_program> http server example" - do this in the program.
And then AJAX is to do it in Javascript.
Here's how to tie...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question