View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006707 | MMW v4 | Framework: Scripts/Extensions | public | 2010-11-17 23:59 | 2011-04-11 09:18 |
Reporter | zvezdan | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Target Version | 4.1 | ||||
Summary | 0006707: ISDBTracksWindow::Clear method needed | ||||
Description | We need a method to clear the main tracklist, similar to ISDBPlayer::PlaylistClear for NP. | ||||
Additional Information | Well, 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. | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||
|
Not sure that I understand Correctly where it should be used and how it would be reflect on Tabbed MM view? |
|
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. |