Are you trying to invoke AIJ from within the LibreOffice environment? At the moment this macro is designed to work once AIJ has been started. Once the macro gets setup for your system it will run a long time but the results are well worth it. I am still developing the macro to handle the Multi Aperture analysis automatically as well. After that I going to look at invoking a version of Richard Lee’s spreadsheet to process the output Measurement file to produce the VSS input data file. A complete workflow automated once the radec file is setup for the comparison stars
This morning I noticed I had topped 25,000 images plate solved in the last 12 months – even with Northern UK weather! Like you I really had to develop a batch system. I’ll post the next version here soon.