| ### TI Connect Manager X Scripting Interface Documentation |
save reference [ in alias ] [ as type class ] [ with replacing ] | core : save |
The save event takes the object specified in reference, and writes it to the file specified in the alias, optionally converting the input data reference to a specific type, and, optionally, overwriting existing file(s), if the replacing option is added. Objects may be saved in a specific named file, using the "in file" option, or they may be saved in folders, with the file name being realized from the type of data and owning device in the reference object. If multiple objects are present, the file created will be a "group" style file, with an appropriate name. Examples of using this event are: save a in file "file:///users/test/testfile1.9xg" with replacing save b in folder "file:///users/test" The reply value is normally a long integer value, representing any error condition that is returned by the attempted writing of the file. The return value for a successful save is zero. |
BACK | 9 March 2003 - slr |