I have been using your instructions for a while, and I want to thank you very much. I have also written a *.bat file that makes it easier to do (you may need to edit them slightly depending on what directories you have). Here are the *.bat files:
Start_Building_Instructions.bat (this is just to make it easier to start so you don't need to remember the command line parameters):
%windir%\system32\cmd.exe /K CreateBuildingInstructions.bat LineBot.lxf
CreateBuildingInstructions.bat (change the values of LegoModelsNoQuotes, msxsl, and xslt to the values copy into a file named CreateBuildingInstructions.bat):
@echo off
set LegoModelsNoQuotes=C:\Users\Nathan Sokalski\Documents\LEGO Creations\Models\
set LegoModelsDir="%LegoModelsNoQuotes%"
set msxsl="C:\Users\Nathan Sokalski\Desktop\msxsl.exe"
set xslt="C:\Users\Nathan Sokalski\Desktop\Groups2BIs.xslt"
set lxfml=%~1ml
set xml=%~n1.xml
set zip=%~n1.zip
echo LegoModelsNoQuotes = %LegoModelsNoQuotes%
echo LegoModelsDir = %LegoModelsDir%
echo msxsl = %msxsl%
echo xslt = %xslt%
echo lxfml = %lxfml%
echo xml = %xml%
echo zip = %zip%
echo/
cd %LegoModelsDir%
echo Please export %~1 as %lxfml%
echo %~1 will now open, close it after exporting
pause
"%~1"
echo/
echo msxsl.exe will now create %xml% from %lxfml%
pause
%msxsl% "%lxfml%" %xslt% -xw -o "%xml%"
echo/
echo %~1 will now be renamed to %zip%
pause
ren %1 "%zip%"
echo/
echo Please copy IMAGE100.LXFML from %zip% to %LegoModelsNoQuotes%
echo Windows Explorer will now open, close it after copying
pause
%windir%\explorer.exe %LegoModelsDir%
echo/
echo Please copy all text (except 1st line) from %xml% to the Clipboard
echo NotePad will now open, close it after copying
pause
%windir%\notepad.exe "%xml%"
echo/
echo Please paste the copied text at the end of IMAGE100.LXFML between the BuildingInstructions tags
echo NotePad will now open, close it after pasting and saving (make sure to first delete anything already between the BuildingInstructions tags)
pause
%windir%\notepad.exe IMAGE100.LXFML
echo/
echo Please copy IMAGE100.LXFML to %zip% replacing the existing one
echo Windows Explorer will now open, close it after copying
pause
%windir%\explorer.exe %LegoModelsDir%
echo/
echo IMAGE100.LXFML, %xml%, and %lxfml% will now be deleted
pause
del IMAGE100.LXFML
del "%xml%"
del "%lxfml%"
echo/
echo %zip% will now be renamed to %~1
pause
ren "%zip%" "%~1"
echo/
echo The new %~1 will now be opened
pause
"%~1"
You will need to modify Start_Building_Instructions.bat for each of your models. I have been trying to find a way to automate some of the steps such as pasting the copied text into IMAGE100.LXFML, but the Windows Command Prompt has limitations on the amount of text it can work with (IMAGE100.LXFML is larger than it can edit). Hopefully this makes things easier!