I want to write a code in perl which automatically opens vlc player and start playing.
I am stuck when I open the vlc player.
I use
But when I execute the lines below this code doesn't not execute.
Is there any other way to open vlc player?
ok, I changed my code
Here is it
Problem here is once I execute, the statements after print $directoryListi ng; does not work.
I am stuck when I open the vlc player.
I use
Code:
SYSTEM("vlc");
Is there any other way to open vlc player?
ok, I changed my code
Here is it
Code:
#!usr/bin/perl #exec (vlc); #print "vlc launched"; $directoryListing = `vlc`; print $directoryListing; //opens vlc print "vlc playinng"; my @keys = ("%{m}", "{ENTER}"); for my $key (@keys){ SendKeys ($key); }
Comment