Community
    • Login

    Calling .js script using c# for a Plugin

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 261 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.
    • NanyaRurirosN
      NanyaRuriros
      last edited by

      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

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @NanyaRuriros
        last edited by

        @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
        • NanyaRurirosN
          NanyaRuriros
          last edited by

          @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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors