Is it possible to combine variables in one text frame. E.g. System.Hour + ":" + System.Minutes + ":" + System.Seconds = 10:40:31?
Is it possibly to read in a variable in the HTMLBox?
Yes, it is possible, but you need a little Java script for it.
I attached a test project in which you will find two possibilities of how it could be done.
Thanks for the help. I think I can get it to work.
But is it possible, instead of changing a HTML element - the value of the external (E.g. S7) variable is written to a javascript variable inside the HTMLBox?
The reason behind this is that I need to draw something with <canvas> in the HTMLBox and I run some javascript functions inside a script tag in the HTMLBox.
Hello efs,
you could use the same event that was used in the JavaScript definition page (Events.onVarChanged) in your HTMLBox script to execute some code whenever a variable changes.


