Bang

You can invoke functions, cmdlets or a script block with !CommandMeasure bang.

Example Bang usage
[PSRM]
Measure = Plugin
Plugin = PowershellRM
Line = function FirstFile() { $f = Get-ChildItem .\; $RmAPI.Log($f[0].FullName) }

[Meter]
Meter = Shape
Shape = Rectangle 0,0,200,200
LeftMouseUpAction = !CommandMeasure PSRM "FirstFile"

Last updated