Visual DialogScript
From Wikipedia, the free encyclopedia
Visual DialogScript (or VDS) is an interpreted programming language for Microsoft Windows. VDS is intended primarily for developing graphical interfaces quickly, not for building sophisticated applications, however VDS scripts do have access to the Windows API.
[edit] Scripting Language
VDS was originally developed by Julian Moss (JM-Tech). Later the French company S.A.D.E. s.a.r.l. took over development. Currently VDS is owned by the British company Commercial Research Ltd.
Two versions are available:
- A shareware version that comes with a 28 day evaluation period, after which a license must be purchased for continued use. The unregistered version is feature-limited: it is not possible to compile executable files and the Icon Editor is unavailable. Registration will provide a registration code that activates compilation and a supplementary package including the Icon Editor.
- A freeware version: Personal VDS (PVDS). This version is incapable of compiling executable files, however compiling files is not necessary as a script file can be executed directly by opening it from Explorer on a system that has PVDS installed on it.
[edit] Scripts
VDS resembles BASIC. Here are some one-line code samples:
# This is a single line comment
Rem This is a single line comment
# The line below displays a simple Message Box with a single Ok button
info Hello world!
# The line below is the syntax for creating a user definable dialog box
# dialog create,<name>,<top>,<left>,<width>,<height>
# The line below is a single command to write to the Windows registry
registry write,USER,Microsoft\Windows\CurrentVersion\Run,MyProgram,%%MyProgramPath
# The line below is a function that will display a dialog box with an editbox for the user
# to enter some value. The function returns the value the user entered
%%MyVariable = @input(Please enter a value:)