Hi Defcon,
re:
> Is there a way to remove the need of the BatchConvert.js script, and make it work on just a drag/drop
> way on the moi3D.exe who have the script path in it ?
I don't think there is a way to make it work with drag/drop on moi.exe because that already does something different - MoI will launch and will try to open the file that you dropped and there isn't a way to make your script intercept that.
> or through a CMD maybe ?
That's probably possible. You can make a .CMD batch file get filenames that were drag/dropped onto it like this:
https://taeguk.co.uk/blog/drag-and-drop-batch-files/
Then you'd probably need to make the batch file generate the .js script file with those names in it and then it can launch moi.exe giving it the .js file that was just written.
> Or, in the BatchConvert script, a way to tell him to convert every compatible files in that folder.
It's possible in a MoI script to retrieve a list of all files matching a wildcard pattern inside of a given folder.
Check here for an example:
https://moi3d.com/forum/index.php?webtag=MOI&msg=2100.48
- Michael
|