• Login
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.
  • B
    bwisely
    last edited by Oct 21, 2024, 4:49 AM

    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
    • A
      Alan Kilborn
      last edited by Oct 21, 2024, 10:31 AM

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

      1 Reply Last reply Reply Quote 1
      • A
        Alan Kilborn
        last edited by Oct 22, 2024, 11:40 AM

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