batch processing files with converter script

Good afternoon,

my company has a lot of model packs of Evermotion trees, interior models etc, which I am trying to make more easily and readily accessible on our system. It would look really good to my boss if I was able to convert copies of our existing files to Corona, and maybe turn them to proxies.

I am aware of the page detailing maxscript converter commands, so I guess what I really need is a 3rd party programme or a script that could be set to run on a whole folder of files, open and run a script on them, then save and close (as a previous version of max as some in our office are on 2013). I found this:http://www.scriptspot.com/3ds-max/scripts/batch-it-max but it appears quite out-dated and I can’t get it to run.

I am an absolute novice with maxscript by the way, otherwise I’d probably have this nailed by now.

Has anyone had success in anything similar?

Thanks.

I found this from the max help pages, but no luck with it so far…

thePath = getSavePath()--get a path dialog to specify the path
if thePath != undefined do--if the user did not cancel
(
  theFiles = getFiles (thePath+"\\*.max") --collect all max files in the dir.
  for f intheFiles do-- go through all of them
  (
    loadMaxFile f--load the next file

-----------------------------------------------------------
-- MAKE SOME SCRIPTED CHANGES TO THE SCENE HERE...
-----------------------------------------------------------

    saveMaxFile f --save the file back to disk
  )--end f loop
  resetMaxFile #noPrompt --at the end, you can reset
)--end if

http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012/index.html?url=files/GUID-D5AC3BA8-6808-48A3-88DA-227ED8743E0-259.htm,topicNumber=d28e91277

Is this possible? to run the converter and proxy script?

Have you seen this topic: https://forum.corona-renderer.com/ batch conversion files from Vray to Corona

how about this?
https://forum.corona-renderer.com/ batch convert material
and this Mass import/export .mat for conversion script [V0.1] - Corona for 3ds Max :: User Contributions - Chaos Forum

Thanks! I’d missed that one somehow. The Pixamoon script looks perfect, he’s just testing with the new Corona for me and I’ll then purchase a copy.

Thanks