Skip to content

The swiss army knife of lossless video/audio editing

document js expr

Mikael Finstad260107230844
diff --git a/expressions.md b/expressions.md
index bf09f0f0..72647812 100644
--- a/expressions.md
+++ b/expressions.md
@@ -15,3 +15,7 @@ segment.duration < 5
LosslessCut has support for normal JavaScript expressions. You will be given a variable `segment` for each selected segment and can return a new segment with modified properties.
See more examples in-app.
+
+## Output name template
+
+You can also use JavaScript expressions when referring to variables inside `${}` in output file name templates, e.g. `${FILENAME.toLowerCase()}`.