A new notepad member function is needed to support a plugin command new to N++ release 8.6.9: NPPM_SETUNTITLEDNAME
The new function should (ideally?) be callable as notepad.setUntitledName(newName, buffId) where newName is a string (of 63 characters or less and contains no illegal character) and buffId is a default arguments with value -1 (to mean active tab is being renamed).
Details on the N++ implementation: