Can the script read the paragraph style name as a script setting value?
For example, my layout only has one column.
However, my text box has three columns with a column spacing of 6 mm.
But the settings for each ID document may be different.
If frequent switching may cause errors,
I came up with a solution to set 3 and 6 in a paragraph style.
For example, the paragraph style is named: columnSeting@3@6
When I run the script, it automatically sets 3 as the number of columns and 6 as the spacing.
Are there any other better methods?




