TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:conditionalembed

ConditionalEmbed

Conditionally embed a file containing additional definition language elements.

Phase

This instruction is used by the TapeTrack INI Engine.

Syntax

ConditionalEmbed(filepath, filter, value);

Variable Type Description Min Length Max Length
filepath String The full or relative path to a file that you wish to embed.1256
filter String A filter value.11024
string String A string value to be compared against the filter value.1256

Example

Using SetVar2Date, embed a file if the current day is Monday or Tuesday.

SetVar2Date(TODAY, "*", "%%A");
ConditionalEmbed("montue_ttidef", "*(Monday|Tuesday)", $TODAY);

See Also

engine/import/conditionalembed.txt · Last modified: 2021/07/22 02:40 by scunliffe