My script is launched by a small init-session script.
Code: Select all
; Scripts/init-session/lotro-session.iss
function main()
{
if ${LavishScript.Executable.Find["TurbineLauncher.exe"]} > 0
{
run lotro-launcher
}
}
Code: Select all
; Scripts/lotro-launcher.iss
function main()
{
; TurbineLauncher will have no console, so we send output to a log file
Log lotro-launcher.log
echo " "
echo "================================"
echo "In TurbineLauncher.exe"
echo " CharacterSet: ${ISBoxerCharacterSet}"
echo " Slot: ${ISBoxerSlot}"
echo " Character: ${ISBoxerCharacter}"
echo "================================"
Log off
}
Note: The script does not have access to the ISBoxerSettings variable, which appears to contain the character settings. I have tried to Import ISBoxerToolkit.GeneralSettings.XML, but have not been successful with that approach.