Community
    • Login

    Save All and Save event support

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 183 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.
    • bwiselyB
      bwisely
      last edited by

      Can I know the NP++8.7 or new version support event that identifies Save/Save All?
      Because I make the Python script to trigger the script to something before saving it to disk.
      I want to know how to get the event to measure the correct operation in Save or Save All.

      For now:
      Python Script has FILEBEFORESAVE, but it doesn’t know if the operation is Save or Save All.
      How can Python Script know the operation it is?

      Thanks for your kind help.

      1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn
        last edited by

        Help on this was also requested here:
        https://github.com/bruderstein/PythonScript/issues/350

        1 Reply Last reply Reply Quote 1
        • Alan KilbornA
          Alan Kilborn
          last edited by

          The OP described his use case for the need he expressed here, on the github site. Although I wasn’t able to give him resolution on the question he asked here, I did come up with a sample script that might meet his need for solving his use case. Interested readers are directed to the github site, via the link in my previous posting.

          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors