Move to next track in main window using a script

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Move to next track in main window using a script

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

by crap_inhuman » Sun Aug 30, 2020 9:00 am

Did you tried the method SDB.Player.Next ?

Move to next track in main window using a script

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.

Top