Inline Functions
Functions to be used in measure section variable.
Requirement: Rainmeter 4.1 or later.
Syntax of inline functions:
Comma is used for separating inline function parameters. If your script or string have comma , draps them inside double quotes.
DynamicVariables = 1
MUST be set on any measures or meters where inline function is used.
Example usage:
Invoke
Invoke
Syntax: [&Measure:Invoke(script)]
invokes script
and last output object will be section variable value.
Variable
Variable
Syntax: [&Measure:Variable(variableName[, defaultValue])
Get a PowerShell variable value.
Optionally, you can set defaultValue
to fallback to when runspace is not ready or variable is not available. Default defaultValue
is blank string.
Expand
Expand
Syntax: [&Measure:Expand(input)]
Returns input
string with all of the variable and expression substitutions done.
Last updated