0
Answer

calling javascript from C#

Ask a question
sol one

sol one

17y
1.6k
1

I have two programs, one written in C# (select.cs) and one in javascript (do_it.js). Once the user has selected some parameters in the C# dialog, I would like to pass them to the javascript function to finish the task. How can I execute do_it.js from within select.cs?
I will be sending strings that will become regexps in the .js file. This is not a web application - these are scripts run by AV software, and I'm trying to combine two of the scripts to perform a single task.
Thank you!
s