Community

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

    Launching a plugin when ++ startsup

    Help wanted · · · – – – · · ·
    2
    3
    1652
    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 Mehnert
      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 Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        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 Mehnert
          Simon Mehnert last edited by

          Thankyou, I did use the sendkeys in the end…

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors