In RoboHelp 8, my project template only included one SSL layout – I deleted the others because we never use them. (We generate WebHelp.) In RoboHelp 10, the other layout types mistakenly appear in my project, so my script needs to select the correct one to generate. Unfortunately, instead of returning one of the constants defined in the RoboHelp.SSLLayoutType class, RoboHelp.project.SSLManager.item(i).SSLLayoutType returned null. Luckily, WebHelp does show up as the default layout, so instead I looked for the item where RoboHelp.project.SSLManager.item(i).defaultLayout is true.