>>Message imported from previous forum - Category:Scripts and Tips<< User: mchartrand, originally posted: 2018-10-25 19:16:16 Id:276 This is a re-posting from the obsoleted (October 2018) "Schneider Electric Telemetry & SCADA" forum.
**_Dbaez: Hi, in a mimic script I am improving the visualization through: Set xvw = CreateObject("Serck.ViewXApplication") Of course I get an error in WebX when the PC doesn't have ViewX installed. How could I know if the user interface is ViewX or WebX? So in the WebX case I simply won't execute this part. Thanks for help :-)_**
AWoodland: Use App.Head, if it returns 0 then its WebX, else returns the ViewX head id you're on (= 1).
The help has an example with Mimic.Close/back
**_Dbaez: Thank you, it worked great. In the script, through the ViewXApplication I make some changes in the axes in the embedded trends. Now I'm wondering if it is possible to do this in WebX. So, The axes in embedded trends can be accessed using something different to ViewXApplication?_**