Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmorley authored Jun 25, 2018
1 parent 1615ddf commit 9b84582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ Note: All other measure specific options are ignored when ConfigName is set.
### Using inline plugin section variables

**[&MeasureName:IsActive(ConfigName)]**

The section variable will be resolved to `1` if the config is active and `-1` if not.

Example `IfCondition=[&MeasureName:IsActive(Illustro\System)] = 1`

Note: `DynamicVariables=1` must be set on the measure or meter where this is used.

**[&MeasureName:ConfigVariantName(ConfigName)]**

The section variable will be resolved to the name of currently running skin .ini file name.

Example `IfTrueAction=[!SetOption SomeMeter Text "Variant [&MeasureName:ConfigVariantName(Illustro\System)] is running."]`
Expand Down

0 comments on commit 9b84582

Please sign in to comment.