[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
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