Autoexec.vbs

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Special Files >

Autoexec.vbs

Description

It's a vbs file executed when the PDM starts.

Remarks

It must be placed in the LST\ folder (as declared in DBWAPP.PAR file).

See also

AutoexecOnExit.vbs

Example

This is an example of an Autoexec.vbs file. It starts automatically the PDM browser when the CAD starts.

Sub Main()

 DBWInit(TRUE)
 call DBWShell("OpenForBrowsing")
 call DBWShell("MinimizeBrowser")
end Sub