18.01.2013 Views

VBScript Reference Manual for InduSoft Web Studio

VBScript Reference Manual for InduSoft Web Studio

VBScript Reference Manual for InduSoft Web Studio

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>VBScript</strong> <strong>Reference</strong> <strong>Manual</strong> <strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong><br />

Scripting Type Library<br />

The Scripting Type Library consists of the following item:<br />

• Dictionary Object<br />

The Dictionary object is part of the <strong>VBScript</strong> Scripting Library and is used to store name/value<br />

pairs (known as key/item respectively) in an array. The key is a unique identifier <strong>for</strong> the<br />

corresponding item. The key cannot be used of any other item in the same Dictionary object. A<br />

Dictionary object is similar to a normal array, except that instead of using a numeric index, a<br />

key is used.<br />

• FileSystemObject Object Model<br />

The FileSystemObject is an object model that is part of the <strong>VBScript</strong> Scripting Library and is<br />

used to gain access to a local computer or network share computer file system. It can access<br />

drives, folders and files Collections of drives, folders and files can also be retrieved. In addition,<br />

the FileSystemObject can create, write to and read Text files.<br />

o Drive object<br />

o Drives collection<br />

o File object<br />

o File collection<br />

o<br />

o<br />

Folder object<br />

Folder collection<br />

FileSystemObject<br />

o TextStream object<br />

Folder Object<br />

Drives Object Drives Object<br />

Folders Collection<br />

Drives Collection<br />

Folder Object<br />

Files Collection<br />

File Object File Object<br />

TextStream Object<br />

212 <strong>InduSoft</strong>, Ltd.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!