Script measure


Measure=Script measures information returned using the Lua scripting language.

See also: Lua Scripting for details on using Lua with Rainmeter.

Options

General measure options
All general measure options are valid.
ScriptFile
Path to the .lua script file.
User defined options
Any Key=Value option can be added to the measure, defining values which can be accessed by the Lua script using the SELF object.

Bangs

Script measure can be controlled with the !CommandMeasure bang. See Lua Scripting for more information.

Example

[Rainmeter]
Update=1000

[MeasureScript]
Measure=Script
ScriptFile=MyScript.lua
MyStringOption=Hello World
MyNumberOption=27