Answered
Help with script interface design
How do I make the 'Story' & 'Document' radio buttons be on one line?

I tried a lot with AI and it didn't work 🙂
var dialog = app.dialogs.add({name: "Pstyle2tables"});
var column = dialog.dialogColumns.add();
var styleRow = column.dialogRows.add();
var styleDropdown = styleRow.dropdowns.add({
stringList: allParaStyles,
selectedIndex: 0
});
var scopeRow = column.dialogRows.add();
var radioBtns = scopeRow.radiobuttonGroups.add();
var currentStoryRadio = radioBtns.radiobuttonControls.add({staticLabel: "Story", checkedState: true});
var entireDocRadio = radioBtns.radiobuttonControls.add({staticLabel: "Document", checkedState: false});
var result = dialog.show();
if (result) {
var selectedStyleName = allParaStyles[styleDropdown.selectedIndex];
var selectedStyle = doc.paragraphStyles.itemByName(selectedStyleName);
var workOnEntireDoc = entireDocRadio.checkedState;
var tablesProcessed = 0;
dialog.destroy();
Thanks to human intelligence!
