Page 1 of 1

play with kmplayer, enque in kmplayer

Posted: 20 Jun 2014 16:55
by kotlmg
hello sir,
i am using kmplayer to play all video and audio files. right now, in the context menu, i am getting two options i.e. play with kmplayer, enque in kmplayer etc. is it possible to add context sensitive menu to a button using xyplorer script?
i am adding the command line options possible in kmplayer in the attached image?

can you give the script for the above options?
it searches the playlist files using control + s command? can this option be also added to the code.

right now i am using the following code.

Code: Select all

"KMPlayer"
    OpenWith """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" <items>";
"enque"
    $items = get("SelectedItemsPathNames", chr(34)." ".chr(34));
    run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /ADD ""$items""";
with regaards,
m.k.rao

Re: play with kmplayer, enque in kmplayer

Posted: 20 Jun 2014 18:24
by binocular222
Tool > List Management > Portable File Association

Code: Select all

"Open with KMP" mp3;wma;wav>C:\Program Files (x86)\The KMPlayer\KMPlayer.exe
"Enqueue in KMP" mp3;wma;wav>::run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /ADD ""<selitems>""";

Re: play with kmplayer, enque in kmplayer

Posted: 21 Jun 2014 03:29
by kotlmg
i need the code for command line switches shown in the attached image.

Re: play with kmplayer, enque in kmplayer

Posted: 21 Jun 2014 05:40
by binocular222
See my previous post, jam any parameter into
::run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /ADD "<selitems>""

Re: play with kmplayer, enque in kmplayer

Posted: 21 Jun 2014 06:34
by kotlmg
actually i am not able to follow your code.
i want to add options
like /dvd
/cd
/close
/wdm
/shutdown etc.
for one of these options can you add the code please?

Re: play with kmplayer, enque in kmplayer

Posted: 21 Jun 2014 08:35
by binocular222

Code: Select all

"Open with KMP" mp3;wma;wav>C:\Program Files (x86)\The KMPlayer\KMPlayer.exe
"Enqueue in KMP - DVD" mp3;wma;wav>::run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /DVD "<selitems>""
"Enqueue in KMP - CD" mp3;wma;wav>::run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /CD "<selitems>""
"Enqueue in KMP - close" mp3;wma;wav>::run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /Close "<selitems>""
"Enqueue in KMP - wdm" mp3;wma;wav>::run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /wdm "<selitems>""
"Enqueue in KMP - shutdown" mp3;wma;wav>::run """C:\Program Files (x86)\The KMPlayer\KMPlayer.exe"" /shutdown "<selitems>""
select some mp3/wma/wav files then Ctrl+Alt+Enter will popup a Portable-Openwith menu with these options

Re: play with kmplayer, enque in kmplayer

Posted: 21 Jun 2014 16:21
by kotlmg
thanks a lot.