You can invoke functions, cmdlets or a script block with !CommandMeasure bang.
!CommandMeasure
[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 5 years ago