Page 1 of 1

Move to next track in main window using a script

Posted: Tue Jul 07, 2020 8:01 am
by Bandolero
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.

Re: Move to next track in main window using a script

Posted: Sun Aug 30, 2020 9:00 am
by crap_inhuman
Did you tried the method SDB.Player.Next ?