Community
    • Login

    Project Panel API?

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    api
    5 Posts 3 Posters 3.5k Views 3 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.
    • DavesDSMhackD Offline
      DavesDSMhack
      last edited by

      According to this thread, there is no API to interact with the project panel (as of v6.6.9). Is this still the case?

      Is there really no way to load, save, or refresh a workspace using a plugin?

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

        @DavesDSMhack said:

        According to this thread, there is no API to interact with the project panel (as of v6.6.9). Is this still the case?

        Afaik, yes.

        Is there really no way to load, save, or refresh a workspace using a plugin?

        Of course there is a way, one needs to get the handle from the workspace window, enumerates
        the controls and sends the appropriate messages to those controls.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 1
        • DavesDSMhackD Offline
          DavesDSMhack
          last edited by

          Any chance you have a PythonScript example demonstrating how to grab that handle and enumerate the controls, @Claudia-Frank?

          Scott SumnerS 1 Reply Last reply Reply Quote 0
          • Scott SumnerS Offline
            Scott Sumner @DavesDSMhack
            last edited by

            @DavesDSMhack

            @Claudia-Frank may write a PS example of directly what you need, but in case she doesn’t, here are some threads which show the basic techniques:

            • https://notepad-plus-plus.org/community/topic/13754/replace-1-lines
            • https://notepad-plus-plus.org/community/topic/14130/hide-or-toggle-find-results-panel-with-keyboard-command
            1 Reply Last reply Reply Quote 1
            • DavesDSMhackD Offline
              DavesDSMhack
              last edited by

              I think that’s exactly the information I to get started. I figured Claudia-Frank would have already posted something along those lines before. Thank you for finding those Scott!

              1 Reply Last reply Reply Quote 2

              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