I'm trying to convert files from txt to rtf using the NPPExport plugin (maybe this question belongs there?).
for filename in os.listdir('d:\mydir'):
notepad.runPluginCommand("NppExport","Export to RTF")
This works. It opens all the txt files in the directory and tries to save them as rtf files. but it brings up the file dialog for each one and you have to press save. Is there a way to suppress the dialog and just have it save?
thanks in advance.
Log in to post a comment.