macros:example:firequickpalette
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| macros:example:firequickpalette [2025/04/24 13:23] – removed - external edit (Unknown date) 127.0.0.1 | macros:example:firequickpalette [2025/04/24 13:53] (current) – icke_siegen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Example | ||
| + | |||
| + | ====== Palette - Fire Quick Palettes and Show Active ====== | ||
| + | |||
| + | ^ by: | Sebastian Beutel | | ||
| + | ^ published: | April 2025 (stems from 2023) | | ||
| + | ^ description: | ||
| + | ^ remarks: | useful to see which active palette is currently fired | | ||
| + | |||
| + | {{tag> | ||
| + | |||
| + | ==== functions ==== | ||
| + | * [[: | ||
| + | * [[: | ||
| + | |||
| + | ==== control structures ==== | ||
| + | * [[macros: | ||
| + | * [[macros: | ||
| + | |||
| + | ===== Code ===== | ||
| + | |||
| + | File with macros for some more palettes in two segments here: {{ : | ||
| + | |||
| + | <code xml FireQuickPalettes_example.xml> | ||
| + | <?xml version=" | ||
| + | < | ||
| + |  | ||
| + | <macro id=" | ||
| + | < | ||
| + | < | ||
| + | <integer id=" | ||
| + | <integer id=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | <macro id=" | ||
| + | < | ||
| + | <active binding=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Explanation ===== | ||
| + | |||
| + | This explains the functional steps within the sequence. For all the other XML details please refer to [[: | ||
| + | |||
| + | The first macro simply initialises the variables '' | ||
| + | |||
| + | The second macro '' | ||
| + | * ''< | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | |||
| + | ===== How to use it ===== | ||
| + | |||
| + | - duplicate the second macro and adjust the numbers for the usernumbers you want to work with | ||
| + | - [[: | ||
| + | - adjust the usernumbers of the palettes you want to work with | ||
| + | - instead of clickng the palette buttons now fire the macros | ||
