Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| macro:setting-change [2021/03/26 02:48] – [段組み表示切替] kabuneko | macro:setting-change [2021/03/26 02:59] (current) – [段組み表示切替] kabuneko | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| ==== 段組み表示切替 ==== | ==== 段組み表示切替 ==== | ||
| - | * 設定に複数の選択肢がある場合のマクロの例。 | + | * 設定に複数の選択肢がある場合のマクロの例。以下は段組み表示の段数変更マクロ。 |
| <code vbscript> | <code vbscript> | ||
| Line 35: | Line 35: | ||
| dim columns, max | dim columns, max | ||
| columns = ActivePane.IDDP_MultipleColumn | columns = ActivePane.IDDP_MultipleColumn | ||
| - | max = 2 ' | + | max = 3 ' |
| columns = columns + 1 | columns = columns + 1 | ||
| if columns > max then columns = 1 | if columns > max then columns = 1 | ||