• Login
Community
  • Login

Project Panel API?

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
api
5 Posts 3 Posters 3.0k 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.
  • D
    DavesDSMhack
    last edited by Oct 11, 2017, 1:26 PM

    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?

    C 1 Reply Last reply Oct 13, 2017, 1:42 PM Reply Quote 0
    • C
      Claudia Frank @DavesDSMhack
      last edited by Oct 13, 2017, 1:42 PM

      @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
      • D
        DavesDSMhack
        last edited by Oct 19, 2017, 12:15 PM

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

        S 1 Reply Last reply Oct 19, 2017, 12:59 PM Reply Quote 0
        • S
          Scott Sumner @DavesDSMhack
          last edited by Oct 19, 2017, 12:59 PM

          @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
          • D
            DavesDSMhack
            last edited by Oct 19, 2017, 1:26 PM

            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
            4 out of 5
            • First post
              4/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors