Navigation:  Object Model Reference > Scripts Collection >

Type Property

Previous pageReturn to chapter overviewNext page

Returns the type of scripts in the collection.  Read-only.

 

Syntax

 

object.Type As ScriptTypeEnum

 

Arguments

 

object

       An object expression that evaluates to an object in the Applies To list.

 

The return values are:

Constant

Value

Description

vbldScriptAll

-1

A collection of all script of the types below, concatenated together.

vbldScriptTemporary

0

Temporary scripts (not persisted between sessions; created or loaded during a build).

vbldScriptProject

1

Project scripts (saved with the project).

vbldScriptGlobal

2

Global scripts.  By default, global scripts are loaded/saved from/to VisBuildPro.scripts in the configuration files path.

vbldScriptSystem

3

System scripts (stored in VisBuildPro.System.scripts; read-only).

 

See Also

 

Applies to Scripts collection, Script object