VDS Renaissance のインターフェースは複数の言語に対応しています。公式ドキュメントは、単一で一貫した常に最新のリファレンスを保証するため、英語で管理されています。

IDE Automation

The VDS 5 IDE can be automated to a limited extent using DDE commands. The controlling application should open a DDE link with server "VDS", topic "System":

DDE LINK, VDS, System

Macro commands may then be executed using the DDE EXECUTE command. Macro commands must be enclosed in square brackets. If an argument is specified, it follows the command enclosed in round brackets. Quotes may be used to preserve spaces.

Macro commands return information via the DDE Item "DDEResult", which can be obtained using the @DDEITEM function:

%%result = @DDEITEM(DDEResult)

Commands return "**OK**" when they are completed, or "**ERR**" if there is an error, unless other return information is specified.

There follows a brief description of the DDE macros available in the current build of VDS. Where <filename> is specified, a full path is required in all cases.

[FILENEW]

Opens a new, blank file in the editor.

[FILEOPEN(<filename>)]

Opens a file in the editor. If the file is a project file, the previous project (if present) is closed, and all the files of the new project are opened.

[FILESAVE(<filename>)]

Saves the currently active page in the editor to the file named.

[FILECLOSE]

Closes the currently active page in the editor. If the page contains unsaved changes, a dialog requiring a manual response will be displayed by the IDE.

[PROJECTCLOSE]

Closes the currently active project. If any file in the project contains unsaved changes, dialogs requiring manual responses will be displayed by the IDE.

[SELECT(<filename>)]

Selects the specified file in the editor, load it if the file is not currently loaded. Returns 1 (true) in DDEResult if successful.

[COMPILE]

Compiles the currently open project. Returns 1 (true) in DDEResult if successful.

[COMPILE(<projectfilename>)]

Loads the specified project (closing the previous project, if present) and then compiles it. Returns 1 (true) in DDEResult if successful.

[LINE(n)]

Returns the contents of line n in the currently selected page in the editor, or "**EOF**" if n is greater than the number of lines in the file.

[DELETE(n)]

Deletes line n in the currently selected page in the editor. Returns "**EOF**" if n is greater than the number of lines in the file.

[ADD(<string>]

Adds a line of text to the end of the file in the currently selected page in the editor.

[INSERT(n,<string>)]

Inserts a line of text before line n in the currently selected page in the editor. Returns "**EOF**" if n is greater than the number of lines in the file.