Community
    • Login

    Save All and Save event support

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 595 Views 1 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.
    • bwiselyB Offline
      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 Offline
        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 Offline
          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

          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