The plugin does not "run" when the skin is loaded or refreshed. An OnRefreshAction can be used in [Rainmeter] to do that.
If the Measurename method doesn't work for you, try using !SetVariable in a FinishAction of your RunCommand to save the status as a variable, and display that in your meter.
If the Measurename method doesn't work for you, try using !SetVariable in a FinishAction of your RunCommand to save the status as a variable, and display that in your meter.
Code:
[Rainmeter]Update=1000OnRefreshAction=[!CommandMeasure MeasureHDRStatus "Run"][MeasureHDRStatus]Measure=PluginPlugin=RunCommandProgram=powershell.exeParameter=-ExecutionPolicy Bypass -File "C:\Users\Boris\Desktop\Rainmeter Portable\checkhdr.ps1"OutputType=ANSIState=Hide; FinishAction=[!SetVariable HDRStatus "[#CURRENTSECTION#]"][MeterStatus]Meter=StringMeasureName=MeasureHDRStatusX=500Y=500FontSize=26FontColor=255,255,255Text=%1; Text=#HDRStatus#DynamicVariables=1
Statistics: Posted by eclectic-tech — Today, 5:12 pm