macros:example:pagenamestolegends
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
macros:example:pagenamestolegends [2024/08/09 13:33] – created icke_siegen | macros:example:pagenamestolegends [2024/08/09 19:52] (current) – [Code] icke_siegen | ||
---|---|---|---|
Line 5: | Line 5: | ||
^ by: | Sebastian Beutel | | ^ by: | Sebastian Beutel | | ||
^ published: | May 2024 | | ^ published: | May 2024 | | ||
- | ^ description: | + | ^ description: |
^ remarks: | This records some cues into the Macros window and sets their legends to the current pages legends of some windows.\\ Page legends are not available through WebAPI. In order to get these legends:\\ - deploy this macro\\ - recall it from WebAPI | ^ remarks: | This records some cues into the Macros window and sets their legends to the current pages legends of some windows.\\ Page legends are not available through WebAPI. In order to get these legends:\\ - deploy this macro\\ - recall it from WebAPI | ||
Line 32: | Line 32: | ||
===== Code ===== | ===== Code ===== | ||
- | <code xml filename.xml> | + | <code xml [enable_line_numbers=" |
<?xml version=" | <?xml version=" | ||
< | < | ||
Line 71: | Line 71: | ||
This explains the functional steps within the sequence. For all the other XML details please refer to [[: | This explains the functional steps within the sequence. For all the other XML details please refer to [[: | ||
- | tbd | + | * the first two lines cache the current page of the Macros window into a variable and toggle to another page. This is to make sure all created dummy playbacks are not in the way for other things. |
+ | * then, per item (window pagename and window page number), a designated playback is stored with that value as legend, like this: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * the last two lines toggle the Macros window back to the page it was previously on | ||
===== How to use it ===== | ===== How to use it ===== | ||
- [[: | - [[: | ||
- | + | - recall it from WebAPI | |
- | tbd | + | - get handles JSON http:// |
+ | - parse the answer for the numbers/ | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ |
macros/example/pagenamestolegends.1723210407.txt.gz · Last modified: 2024/08/09 13:33 (external edit)