Move to next track in main window using a script

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

Bandolero
Posts: 25
Joined: Mon Mar 28, 2005 4:21 am
Location: New York City

Move to next track in main window using a script

Post by Bandolero » Tue Jul 07, 2020 8:01 am

Hello,

I have a script that previews the track in the current main window in the player while showing a dialog. When it closes, it either leaves the track in the player or removes it depending on my choice.

What I would like to do is on exit from the dialog, in the main window move the selected track to the next track. Virtually saving me from pressing down to move to the next track for preview.

I've looked at MainTracksWindow, AllVisibleSongList for a way to make the next track the selected track but I must be missing something.

Thank you for your help.