[c#] how to set/change current filename/fileextension
-
Hello,
in my plugin load textfile width datas in lines and change the format from the datas to another.
The filename, or more precisely the fileextension must i change to another.How can i do that?
regarts Mario
-
@MarioRosi said in [c#] how to set/change current filename/fileextension:
I assume you are looking for nppm-getfilename.
-
To add to what @Ekopalypse said,
I assume you are looking for nppm-getfilename.
I would add: use that to get the old name/extension, and use NPPM_SAVECURRENTFILEAS for saving the file with a new extension.
-
Hello Ekopalypse and PeterJones,
thanks for your suggestions. Now i create a new tab and copy the new format into that tab.
Then can decide the user how to save the file.regards Mario