In DIAdem you can create and execute scripts in AUT syntax and in VBS syntax. The VBS syntax has many advantages compared to the AUT syntax:
You can start VBS scripts directly from the editor.
You can use the entire VBS language functionality.
You can use the Microsoft Windows Script Debugger to process VBS scripts step by step and to search for errors in your scripts.
You can use the dialog editor to create dynamic user dialog boxes. You use VBS scripts to automate these user dialog boxes.
You can use the return values of DIAdem commands. This makes your scripts more concise. New DIAdem commands do not set global variables. The commands provide the results only as return values. Click here for a list of commands with return values.
You must use VBS scripts to completely automate DIAdem VIEW, DIAdem NAVIGATOR, the Data Portal, the units catalog, and the DIAdem bars.
DIAdem supports Codecompletion for VBS scripts only
You cannot execute quantity-based calculations with the Calculate command.
Use the AUT/VBS converter to convert AUT scripts into VBS scripts. Only in some exceptional cases do you need to make special adjustments in the converted script.