Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Calling .js script using c# for a Plugin

    Plugin Development
    2
    3
    66
    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.
    • NanyaRuriros
      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

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        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
        • NanyaRuriros
          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
          Copyright © 2014 NodeBB Forums | Contributors