Executing a macro from the command line
Hello, is there a way to execute a macro or perform any operations from the command line? I don't mean the command line in CC3+, but the Windows command line, by passing command-line parameters to fcw32.exe (or something).
I'd like to be able to perform certain operations in batch, ideally without even launching the CC3+ GUI at all (though if it ends up doing so as a side effect, that would also be ok). For example, I have a file browsing program that allows me to provide a script to generate previews of files on the filesystem -- it would be great if I could make a request to campaign cartographer to produce a render of the file without having to launch the program and export it manually. Another example use for batch processing would be to set all text in some set of map files I have to have "Use New Metrics" disabled (this would be useful for people using WINE which has known issues with the new text metrics).
I don't mind getting my hands dirty with programming, so if a command-line interface is not possible, but a programmatic interface accessed via a dll or something is, that would also work fine.
Comments
It is not possible to call such things from the command line. CC3+ wasn't written with batch processing in mind.
You can talk to CC3+ from an external program using the Intercom interface however, which means you can send commands from an external program which are then run as commands inside CC3+. I don't have a tutorial for that on hand. Some information can be found in this old blog by @saunderl http://cc3-developer.blogspot.com/search/label/Intercom
The second alternative is to make your own XP which opens up a lot of possibilities for expanding CC3+ with your own code. I don't think you'll be able to implement more command line options or prevent the gui from loading though, those things are (most probably) beyond what an XP can do.
Thanks for your quick reply! That's given me a couple of leads I can try out :-)