Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1455

Help: Rainmeter Skins • Re: NowPlaying & VLC-Media Player

$
0
0
Hello, :welcome: :givelove:
I have a quick question about my code.

I wanted to query the process when VLC Media Player is running so that it then executes the command to check wich track is playing. Dont wonder you i try many things and options. :oops:

But even if the [VLC_Title] function is deactivated.. The CMD command will get started? How can that be? Have I overlooked something? :shrug: :???: Please first try out the code to understand the problem what deas i mean. Can it be the is a Problem about the Running conditions 1 and -1

Thank you for response, time and your help :rosegift:

Code:

[Rainmeter]Update=1000DynamicWindowSize=1[LineBorder]Meter=ShapeShape=Rectangle 2,2,300,70,10 | Fill Color 0,0,0,140 | StrokeWidth 2 | Stroke Color 0,0,0,140DynamicVariables=1;--------------------[VLC_Title]Measure=PluginPlugin=RunCommandProgram=PowerShellParameter="$windowTitle = (Get-Process -Name "vlc").MainWindowTitle; Write-Host $windowTitle; exit" OutputType=ANSIState=ShowDynamicVariables=1Disabled=1[MeasureProcess]Measure=ProcessProcessName=vlc.exeDynamicVariables=1;Substitute="-1":"not running","1":"running"IfMatchMode=1IfCondition=1IfTrueAction=[!EnableMeasure VLC_Title][!CommandMeasure VLC_Title "Run"][!UpdateMeter *][!Redraw]IfCondition2=-1IfTrueAction2=[!DisableMeasure VLC_Title][!UpdateMeter *][!Redraw][Headline2]Meter=StringGroup=HEADLINEMeasureName=VLC_TitleFontFace=ArialFontStyle=BOLDFontSize=10FontColor=255,255,255,255InlineSetting=Shadow | 1 | 1 | 2 | 0,0,0,255X=10Y=45W=100Text=%1AntiAlias=1DynamicVariables=1;Container=MusicTicker[MeterProcess]Meter=StringMeasureName=MeasureProcessFontSize=11FontWeight=400FontColor=255,255,255,255SolidColor=47,47,47,255Padding=5,5,5,5AntiAlias=1Text=VLC.exe is %1

Statistics: Posted by Rooky_89 — Yesterday, 7:19 pm



Viewing all articles
Browse latest Browse all 1455

Trending Articles