Community
    • Login

    Project Panel API?

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    api
    5 Posts 3 Posters 2.8k Views
    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
      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
        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
          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
            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
              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
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors