Previous Topic

Next Topic

Book Contents

Book Index

TextFile Object

See also TextFile documentation under Automation > Automated Miscellaneous.

TextFile.OpenFile method has these named arguments:

Parameter

Description

File Name

Required. String. Name of file to open.

Append

Optional. Boolean, default false. If false opens file positioned at the start, if true opens positioned to append to existing file content.

File Type

Optional. Integer.
0 - ANSI
1 - UTF16_LE
2 - UTF16_BE
3 - UTF8

If this parameter is not specified, then encoding will be auto detected from the file.

TextFile.CreateFile method has these named arguments:

Parameter

Description

File Name

Required. String. Name of file to create.

File Type

Optional. Integer.
0 - ANSI
1 - UTF16_LE
2 - UTF16_BE
3 - UTF8

If this parameter is not specified, the default type is ANSI.