Is it possible to change Text Style properties on-the-fly? On our system, the menu bar background color changes everytime you login, but it would still be nice to use a text style that we set at the beginning of all of our scripts. I’m trying to do something like the following:
Set the CurrentTextPlatform.Styles.MenuBar.TextBackgroundColor to MenuBarBackgroundColor
where MenuBar is an existing text style and MenuBarBackgroundColor is an existing variable with a color value. I’ve been trying to do this and the MenuBar text style doesn’t seem to be holding the TextBackgroundColor value.
The goal of this is to avoid having to write (Text:“File”,TextBackgroundColor:MenuBarBackgroundColor) everytime we need to access a menu bar, so if you have a suggestion that you think might work other than trying to change the text style, I’d appreciate hearing it.