txtITextEditor SaveTextFile

Saves the content of the text editor to a file.

Syntax

txtITextEditor_handle SaveTextFile filename, type

Application

HyperWorks Tcl Modify

Description

This command saves the content of the text editor to a file.

Inputs

filename
The name of the file.
type
Type of file that you want
file
template

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle txt;
txt SaveTextFile MyFile.tpl template;

Errors

Success (0) or an error message is returned.

Keywords

HyperWorks

Tcl

TextView

Modify

Create