Laserfiche WebLink
TSTool Documentation <br />Introduction - 14 <br />(refer to specific command documentation to determine whether a command supports global properties). <br />The internal representation of each property varies depending on the meaning of the property. For <br />example, date/times are represented internall y as DateTime objects. Regardless of internal representation, <br />the value is converted to a string when used in string parameters such as filenames. Because some data <br />types (such as date/times) can be formatted in a variety of ways, the default representat ions (such as the <br />ISO 8601 YYYY -MM -DD representation for dates) may not be appropriate . The <br />FormatDateTimeProperty() command can be used to format date/time string properties . <br /> <br />Command Processor Global Properties <br /> <br />Property Name Type Description <br />CreateOut put Boolean Indicates whether commands should create output files (true) or not (false) – <br />this is useful for speeding processing during initial testing. <br />Initial <br />WorkingDir <br />String The initial working directory (folder), initially defaulted to the main <br />comm and file folder. This property is used with the RunCommands() <br />command to help the processor keep track of changing working directories. <br />InputStart DateTime The global input period start, for read commands. <br />InputEnd DateTime The global input period end, for read commands. <br />OutputStart DateTime The global output period start, for commands that create or write time series. <br />OutputEnd DateTime The global output period end, for commands that create or write time series. <br />Output <br />YearType <br />String The output year type, for commands that create or write time series. <br />WorkingDir String The working directory (folder), initially defaulted to the command file folder. <br />All other relative paths will be relative to this location. The <br />SetWorkingDir() can be used to modify the value; however, this is not <br />recommended because it can lead to hard -coding paths in command files, <br />which limits portability. <br /> <br /> <br /> <br /> <br />26