How can I tell the difference between Save and SaveAll
I am using the notification NPPN_FILEBEFORESAVE but I can not tell if this is a Save Click or a Save All click.
When I catch the event I can read the current file but when the event fires more than once for the Save All click the current file does not change.
What I need to get is the full file path for each file as it is being saved with the Save All
Thanks in advance
(Depending on what language you are using this may vary a bit)
SCNotificationstruct has a
Sci_NotifyHeaderstruct, which has an
idFromfield. This is the BufferID. You can then use
NPPM_GETFULLPATHFROMBUFFERIDto get the path from that.