Variables and Parameterization

The config variable command creates variables that can be used to parametrize scripts. Use the config reset command at the beginning of a session/script to reset all values changed with the config command to their default settings.

The example below shows the parametrization of file paths and name/values in exports:
config reset
config variable savedir "c:\tmp" 
config variable heightvar 1000 
config variable widthvar 2000 
save image page %{savedir}\test.png height=%{heightvar} width=%{widthvar}


Figure 1. Parametrization of HWC Scripts