Macro Command Reference

selector <1-4> <pos> <val1> <val2> [val3] .. [val16]

Add a custom selector to your document which allows to change parameters interactively. Four selectors are available. Every time the selector has changed the macro will be executed again. You can assign up to 16 values to the selector. The value of the selector is stored in the variables csw1, csw2, csw3 and csw4. The position of a value in the menu is stored in the variables csw1n, csw2n, csw3n and csw4n.
pos is the x location of the slider in screen coordinates. If pos is set to 'auto' the position will be determined automatically. The selector width is 120.