drakulaboy wrote:i did not try this plugin before, i open in CMD VLC player with a youtube link,
cd C:\Program Files\VideoLAN\VLC
then i write
vlc
https://www.youtube.com/watch?v=46pjMM9Ydm4
and it's playing a youtube video
Quick question will i be able to open VLC player plus a youtube link with this plugin?
There is no need to use RunCommand to open a video in VLC.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeterSail]
Meter=String
FontSize=11
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Watch Me
LeftMouseUpAction=["C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "https://www.youtube.com/watch?v=Awf45u6zrP0"]
At the end of the day, the point of RunCommand is to run "console" programs, those that run under cmd.exe and take input from STDIN and output to STDOUT.
You know, DOS programs basically. You can run those directly from Rainmeter, but first, you will get a cmd.exe "window" pop up, which is ugly, and second, RunCommand allows you to "capture" the output of the program, either directly into the measure value, or as a file you can parse with WebParser.
VLC is a Windows application, not a console program, and you can just run it directly with any parameters it supports. You can run it with RunCommand if you want, but it won't buy you a thing.