0

Change Live Text via PlugIn Script

Hi,

I would like to change text in an existing Live Text State with a plugin.

The plugin is a countdown (changes every second), works fine as telnet output, but I could not manage to change the text in the canvaswidget.

I have access to the widget itself, but can't figure out how to manipulate it. I would clear and redraw it by the plugin but it seems then I couldn't use specific fonts.

Documentation is poor as usal on that :(

2 comments

  • 0
    Avatar
    Bright Scripters

    Hello Lukas,

     

    We normally modify a User Variable from a plugin, and present the variable's value in the live text.

    Less hoops to jump through...

    m.userVariables.Lookup("<UserVarName>").SetCurrentValue("<New User Variable value>",true)

  • 0
    Avatar
    Lukas Uebachs

    I'm confused, tried that a while ago and didn't work properly,now it works fine.

    Seems that the problem has been somewhere else and all my other changes to timer and countdown solved the problem.

Please sign in to leave a comment.