Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| macro:setting-change [2021/03/26 02:42] – created kabuneko | macro:setting-change [2021/03/26 02:59] (current) – [段組み表示切替] kabuneko | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| </ | </ | ||
| + | ==== 段組み表示切替 ==== | ||
| + | |||
| + | * 設定に複数の選択肢がある場合のマクロの例。以下は段組み表示の段数変更マクロ。 | ||
| + | |||
| + | <code vbscript> | ||
| + | sub dangumi | ||
| + | if ActivePane is nothing then exit sub | ||
| + | dim columns, max | ||
| + | columns = ActivePane.IDDP_MultipleColumn | ||
| + | max = 3 ' | ||
| + | columns = columns + 1 | ||
| + | if columns > max then columns = 1 | ||
| + | ActivePane.IDDP_MultipleColumn = columns | ||
| + | end sub | ||
| + | </ | ||
| ==== メニュー設定に直接記述 ==== | ==== メニュー設定に直接記述 ==== | ||