[Script] Clear and Queue [MM2+3] [2008.06.22]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

zephyr
Posts: 101
Joined: Fri Oct 07, 2011 2:56 pm

Re: [Script] Clear and Queue [MM2+3] [2008.06.22]

Post by zephyr »

Hi,

I'm trying to manage my context (and hopefully/eventually my shortcut keys) for Play options.

I wanted play last as my default, with the option to 'play now' / 'play next' available (in MM) via hotkeys.

I have a script (PlayAlbum I think) that adds entries to the hotkeys, enabling it to be configured like so

Image

Image

Can Clear and Queue be modified to enable this level of configuration (call via hotkey)?

Thanks!
Grateful noob
zephyr
Posts: 101
Joined: Fri Oct 07, 2011 2:56 pm

Re: [Script] Clear and Queue [MM2+3] [2008.06.22]

Post by zephyr »

Hi again, I had a look at the other script, and could see an 'install' function, adding entries to scripts.ini.

I added the following manually, enabling me to configure a hotkey via MM Options


[ClearAndQueue]
Filename=Auto\ClearAndQueue.vbs
Procname=ClearAndQueue
Order=51
DisplayName=Clear and Queue
Description=Clears now playing and enqueues selected
Language=VBScript
ScriptType=99

The existing functionality still works (via context>Clear and Queue), but when using the shortcut I've setup, I get an error:

Image
after this, the script stops working at all until MM is restarted...

Does anyone know how to successfully modify + enable hotkeys? ScriptType maybe?
Grateful noob
Plotino
Posts: 17
Joined: Sun Apr 10, 2011 7:18 am

Re: [Script] Clear and Queue [MM2+3] [2008.06.22]

Post by Plotino »

I have the same problem, even with ClearNowPlayingButton extension

Image
Post Reply