[Bug] Text Exporter always adds '.txt' suffix

 

Hi there.

I want to create a batch file (.bat) from within Axy.

The Text Exporter has an 'Ouput Suffix' control.
But even when I put a suffix like '.bat' in there, the exported file name looks like 'MyFile.bat.txt'

Would be great if we could get rid of that additional '.txt' when manually setting a suffix... :-)

Cheers & all the best.

Eric.

   EricWest

 
Profile Image
Eifert@Aximmetry
  -  

Hi Eric,

We added it to our request list and we will consider adding it in future releases. Until that, I think the simplest possible way to do this is to run an LUA script that changes the extension after saving the text or save the text with an LUA script.

The Output Suffix pin only adds a suffix at the end of the name. Almost all modules that save files have this pin, for example, Video Recorder. It is used for example to easily add your own numbering or naming convention.

Warmest regards,

 
Profile Image
Eifert@Aximmetry
  -  

Hi Eric,

We're excited to share that the latest version of Aximmetry, version 2023.2.0, has been released today!
The new version adds the Keep Extension option to Text Exporter, XML Exporter, and JSON Exporter modules. It allows using a custom file extension instead of .txt, .xml and .json, respectively. The custom extension can be simply specified by including the extension in the Output File or the Exact Path property.

To learn more about all the changes and improvements included in this version of Aximmetry, please visit the following link: https://aximmetry.com/learn/software-version-history/

Warmest regards,