• Login
Community
  • Login

Calling .js script using c# for a Plugin

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 262 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    NanyaRuriros
    last edited by Jul 14, 2020, 3:05 PM

    Hi

    I have 2 .js files that works flawlessly and I want to add them in my plugin already coded in c#, used for string modifications.
    Is it possible to call .js script files using a plugin developed using c#?

    Thanks

    P 1 Reply Last reply Jul 14, 2020, 4:08 PM Reply Quote 0
    • P
      PeterJones @NanyaRuriros
      last edited by Jul 14, 2020, 4:08 PM

      @NanyaRuriros ,

      It wouldn’t surprise me if it could be. The jN Notepad++ Plugin presumably embeds a JS engine, so you might search for that plugin’s source code to look for ideas.

      As far as C# specifics, there are probably lots of hits for “embed JS in C#” in your favorite search engine for generically embedding, and I doubt the plugin version would be different from the general case.

      Maybe others have some insight as well.

      1 Reply Last reply Reply Quote 2
      • N
        NanyaRuriros
        last edited by Jul 14, 2020, 9:01 PM

        @PeterJones said in Calling .js script using c# for a Plugin:

        embed JS in C#

        Thank you!
        I will give it a look :)

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors