Author Topic: BatchFormatConversion: Doesn't work in latest PI version  (Read 4613 times)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
BatchFormatConversion: Doesn't work in latest PI version
« on: 2007 September 29 01:58:49 »
Please excuse me for a small mistake that I made in the version of BatchFormatConversion that I included yesterday with the latest build 329 of the core PixInsight application.

I forgot to remove a comment in the script code that I included for testing purposes. Due to this comment the script simply does nothing.

Fixing this pitfall is very easy. Open the BatchFormatConversion.js file in the Script Editor (or other code editor of your choice), go to line number 393 and change it as follows:

Current code (doesn't work):
Code: [Select]
//engine.convertFiles();

Must be:
Code: [Select]
engine.convertFiles();

That is, just remove the two leading slashes and save the file. Now it will work :)

Have fun!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/