Example
by: | Alex del Bondio, April 2019 |
---|---|
published: | here |
description: | change Capture ambient lighting settings via macro |
remarks: |
Remarks
<?xml version="1.0" encoding="utf-8"?> <avolites.macros> <!-- AmbientLighting, Alex del Bondio - April 2019 --> <macro id="adb.Macros.Capture.day" name="Capture Day"> <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting' converter='Math.EqualityConverter' converterParameter='1'}"/> <sequence> <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 1)</step> <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 1)</step> </sequence> </macro> <macro id="adb.Macros.Capture.dusk" name="Capture Dusk"> <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting' converter='Math.EqualityConverter' converterParameter='0.3'}"/> <sequence> <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 0.3)</step> <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 0.5)</step> </sequence> </macro> <macro id="adb.Macros.Capture.night" name="Capture Night"> <active binding="{propertyLink id='Visualiser.Capture.AmbientLighting' converter='Math.EqualityConverter' converterParameter='0.05'}"/> <sequence> <step>ActionScript.SetProperty.Float("Visualiser.Capture.AmbientLighting", 0.05)</step> <step>ActionScript.SetProperty.Float("Visualiser.Capture.ExposureAdjustment", 0.5)</step> </sequence> </macro> </avolites.macros>
This explains the functional steps within the sequence. For all the other XML details please refer to Formats and syntax
Visualiser.Capture.AmbientLighting
sets the Ambient Lighting levelVisualiser.Capture.ExposureAdjustment
sets the Exposure level