Colour pallete Macro legends

This is a place for people to chare the custom macros they have written.

Moderator: Moderators

ThymenBorghuis
Posts: 1
Joined: 10 Dec 2023, 15:32

Colour pallete Macro legends

Postby ThymenBorghuis » 10 Dec 2023, 15:45

Hi all,

Just made a Colour Pallete Macro, recording a few LED colors and combi's.
Thogh when recording, auto legends are working nice and smoothly, but not when playing the recorded macro.
Any tips or tricks to fix this issue?

Thanks!
icke_siegen
Posts: 1089
Joined: 02 Jul 2010, 10:29
Location: Siegen, Germany
Contact:

Re: Colour pallete Macro legends

Postby icke_siegen » 11 Dec 2023, 13:53

Can you please post the code you come up with to create a palette? Then I'd have a starting point (as long as Gregory doesn't chime in).

There is a designated function to make a legend based on the current handle group (i.e. palette window) and contents of the programmer. It should be something like this:

Code: Select all

Palette.GetAutoPaletteLegendSuggestion("Colours", "Expert.Legend.Set.Generic.PendingTitanId", "")


But in order to correctly apply this your code would help.

Who is online

Users browsing this forum: No registered users and 24 guests