Community
    • Login

    Calling .js script using c# for a Plugin

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 756 Views 1 Watching
    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 Offline
      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 Online
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors