View Issue Details

IDProjectCategoryView StatusLast Update
0006707MMW v4Framework: Scripts/Extensionspublic2011-04-11 09:18
Reporterzvezdan Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Target Version4.1 
Summary0006707: ISDBTracksWindow::Clear method needed
DescriptionWe need a method to clear the main tracklist, similar to ISDBPlayer::PlaylistClear for NP.
Additional InformationWell, this could be achieved using:

SDB.UI.MainWindowFocus = 2
SendKeys "Ctrl+A"
SDB.MainTracksWindow.RemoveSelectedTracks

However, what if we want to keep existing active panel, or cursor position inside of some edit field (e.g. Search edit box)? That could be possible using the suggested method.
TagsNo tags attached.
Fixed in build

Activities

peke

2011-01-23 01:27

developer   ~0022538

Not sure that I understand Correctly where it should be used and how it would be reflect on Tabbed MM view?

zvezdan

2011-01-23 08:24

updater   ~0022542

It could be used with any script which needs to clear the main tracklist, e.g. mine Magic Nodes, RegExp Find & Replace, Track Redirection, ... It would work as the existing RemoveSelectedTracks method, but instead of only selected track it would remove all visible tracks. I didn't try, but I suppose that SDB.MainTracksWindow returns the object for the tracklist of the currently displayed Tab. I cannot think about any usage why/when someone would want to clear the tracklist from some Tab which is not active, i.e. not already displayed.