Community
    • Login

    Launching a plugin when ++ startsup

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.2k Views 2 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.
    • Simon MehnertS Offline
      Simon Mehnert
      last edited by

      Hi,

      I’d like ++ to open then launch the compare plugin, is this possible?

      At the moment its being from within excel with 2 files;
      s = Shell(sNotePadPath & Sheets(“Settings”).Range(“sourceDir”) & sFileName)

      Thanks for the help

      Simon

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Simon Mehnert
        last edited by

        @Simon-Mehnert

        npp, afaik, doesn’t have a builtin way to do what you want but depending on
        your installation it is possible solve the problem with plugins for example
        npp_exec (advanced option->run script at startup) or
        pythonscript or luascript plugin registering a callback for READY or BUFFERACTIVATED notification.

        I assume the code you posted is VBA and Shell seems to return something.
        If this is the handle, can’t you do something like sending a keystroke to that handle?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Simon MehnertS Offline
          Simon Mehnert
          last edited by

          Thankyou, I did use the sendkeys in the end…

          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