General Information on Scripts
- Updated2024-09-12
- 1 minute(s) read
General Information on Scripts
General Information on Scripts
Use scripts to automate sequences in DIAdem. A script is a sequence of commands that DIAdem saves in a text file and works through sequentially. You generate a script by entering commands in the script editor. Alternatively, use the recording mode, where DIAdem records all steps you complete interactively in DIAdem in a script. You can edit scripts by adding control structures or commands.
![]() |
Note Refer to Structuring Scripts for information on the structure of a script. |
When you use scripts, the following files are important:
-
VBS files have the filename extension .vbs and contain DIAdem scripts written in Visual Basic Script. If you have encrypted this file, the script files have the extension .vbc.
-
Python files have the extension .py and contain DIAdem scripts written in Python.
-
List files have the extension .lst and contain the names of files that a script works through.
-
Dialog files have the extension .sud and define user dialog boxes. If you have encrypted this file, the script files have the extension .suc.
-
Text files contain lines that you can read or write in a script.
