From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Loading a VIEW Layout with a Script

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info
Download Help (Windows Only)

Use objects, properties, and methods to control DIAdem VIEW from a script. For example, to load a VIEW layout with a script, complete the following steps:

  1. Select the DIAdem SCRIPT panel.

  2. Select File»New»VBS Script to create a new script.

  3. Enter or copy the following text into the script editor:

    B1 = View.LoadLayout(LayoutLibrPath & "Example.TDV")
  4. Select Script»Start VBS Script to start the script.

The script opens the DIAdem VIEW panel with the WndShow command. Then the script loads the layout Example.tdv with the method LoadLayout from the library folder of DIAdem.

Note  Refer to VIEW help pages Objects, Properties, and Methods for information on controlling the DIAdem VIEW panel with a script.


Not Helpful