View Issue Details

IDProjectCategoryView StatusLast Update
0009068MMW v4Framework: Scripts/Extensionspublic2012-02-05 18:25
Reporterzvezdan Assigned To 
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0.3Fixed in Version4.0.3 
Summary0009068: Scripts of type 0-1 are not correctly displayed in hotkey's Action list if some has 2 or more entries [1468]
DescriptionI have one .vbs script file of type 0 with 4 procedures and 2 (or more) items in the Tools|Scripts menu, but the Action list displays only the first one. I say "or more" because the user of script could create/remove entries to the Scripts.ini file dynamically. Here is the relevant lines of the Scripts.ini:

[AddPlayingTrackToPlaylist]
Filename=Auto\AddTracksToPlaylist.vbs
Procname=AddPlayingTrackToPlaylist
Shortcut=Ctrl+Alt+Shift+0

[AddSelectedTrackToPlaylist]
Filename=Auto\AddTracksToPlaylist.vbs
Procname=AddSelectedTrackToPlaylist
Shortcut=Alt+Shift+0

[AddPlayingTrackToPlaylist1]
Filename=Auto\AddTracksToPlaylist.vbs
Procname=AddPlayingTrackToPlaylistEx(1)
Shortcut=Ctrl+Alt+Shift+1

[AddPlayingTrackToPlaylist2]
Filename=Auto\AddTracksToPlaylist.vbs
Procname=AddPlayingTrackToPlaylistEx(2)
Shortcut=Ctrl+Alt+Shift+2

[AddPlayingTrackToPlaylist3]
Filename=Auto\AddTracksToPlaylist.vbs
Procname=AddPlayingTrackToPlaylistEx(3)
Shortcut=Ctrl+Alt+Shift+3

[AddSelectedTrackToPlaylist1]
Filename=Auto\AddTracksToPlaylist.vbs
Procname=AddSelectedTrackToPlaylistEx(1)
Shortcut=Alt+Shift+1

[AddSelectedTrackToPlaylist2]
Filename=Auto\AddTracksToPlaylist.vbs
Procname=AddSelectedTrackToPlaylistEx(2)
Shortcut=Alt+Shift+2

Until now, you have displayed items with different Procname in the Action list, but now it seems that you displays only entries with the different Filename which is wrong. I know at least one more script that has one vbs file and two procedures/items in the menu (Duplicate Report) which has the same problem because its second item is not listed in the Action list.
TagsNo tags attached.
Fixed in build1470

Relationships

related to 0009089 closedLudek One duplicate section added to the Scripts.ini file with every installation of the program 

Activities

Ludek

2012-02-03 13:35

developer   ~0030247

Fixed in build 1470.

zvezdan

2012-02-04 16:00

updater   ~0030277

Verified in 1470. Thanks.

By the way, I have observed that every time when I install the program it adds Statistic section to the Scripts.ini file, not matter if it is already there. It is not a big deal, but maybe you want to take a look at it.

peke

2012-02-05 00:36

developer   ~0030279

It should be a new bug?

zvezdan

2012-02-05 12:53

updater   ~0030281

OK.