[Closed] Macroscript icons and color scheme
I’m trying to find a way to provide a macroscript with different icon files depending on the color scheme. This is because the icons generally become hard to read in either the light or dark scheme if I use one version.
All max standard icons seem to do achieve this by setting the colorman iconfolder to iconsdark or icons depending on the current color scheme. But since we (developers) should not be writing to that folder but to the usericons instead, this does not really help us.
Any ideas?
maybe :
a = dotnetclass”Autodesk.Windows.ComponentManager”
a.CurrentTheme.name
use .net eventhandlers,
and you have :
colorMan.getColorSchemeType()
#customColor|#standardWindows|#windowsTheme
then, rename/overwrite icons, and reinit them.
or, you could let the user make the choice manually
Yeah finding out which color scheme is in use is not a problem.
But I find having to register a #colorChanged event and copying new files a bit of a hassle… I wonder if there isn’t a better way.