TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:conditionalembed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:import:conditionalembed [2020/03/05 01:59] – [Phase] Scott Cunliffeengine:import:conditionalembed [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 5: Line 5:
 ===== Phase ===== ===== Phase =====
 This instruction is used by the TapeTrack INI Engine. This instruction is used by the TapeTrack INI Engine.
 +
 +===== Syntax=====
  
 ''ConditionalEmbed(filepath, filter, value);'' ''ConditionalEmbed(filepath, filter, value);''
Line 15: Line 17:
 ===== Example ===== ===== Example =====
  
-Embed a file if the current day is Monday or +Using [[engine:import:setvar2date|SetVar2Date]], embed a file if the current day is Monday or Tuesday. 
-Tuesday. +<code>
-<sxh>+
 SetVar2Date(TODAY, "*", "%%A"); SetVar2Date(TODAY, "*", "%%A");
 ConditionalEmbed("montue_ttidef", "*(Monday|Tuesday)", $TODAY); ConditionalEmbed("montue_ttidef", "*(Monday|Tuesday)", $TODAY);
-</sxh>+</code>
  
 ===== See Also ===== ===== See Also =====
engine/import/conditionalembed.1583373559.txt.gz · Last modified: 2025/01/21 22:07 (external edit)