1357: CSV, XLS and XML reports don't appear in menu [#7584]

Beta Testing for Windows Products and plugins

Moderator: Gurus

gege
Posts: 866
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

1357: CSV, XLS and XML reports don't appear in menu [#7584]

Post by gege »

I just realized the Export to CSV|XLS|XML reports don't show up in "Create Reports" menu anymore. Only Statistics and File list (HTML) are displayed.

Image

The functionality is still present in 'Export.vbs' script, only the menu items are gone. Looking at 'Scripts.ini' file, we see there are four entries pointing to the same script, with ProcName= property pointing to correspondent function for each report. This has always worked in MM 3.x.

Now, only the first entry for each .vbs file referenced in 'Scripts.ini' is displayed in menu. Subsequent entries are ignored. I discovered this by changing the order in which the entries are listed in 'Scripts.ini' and thus effectively changing the report that appears in menu.

These are the entries I mentioned. Swap the first one with another in 'Scripts.ini' and you change the report that appears in menu.

Code: Select all

[ExportHTML]
FileName=Export.vbs
ProcName=ExportHTML
Order=2
DisplayName=File List (&HTML)
Description=Exports list of selected files to a .htm file
Language=VBScript
ScriptType=1

[ExportXML]
FileName=Export.vbs
ProcName=ExportXML
Order=3
DisplayName=File List (&XML)
Description=Exports list of selected files to an .xml file
Language=VBScript
ScriptType=1

[ExportCSV]
FileName=Export.vbs
ProcName=ExportCSV
Order=4
DisplayName=File List (CS&V)
Description=Exports list of selected files to a .csv file
Language=VBScript
ScriptType=1

[ExportXLS]
FileName=Export.vbs
ProcName=ExportXLS
Order=5
DisplayName=File List (&Excel)
Description=Exports list of selected files to a .xls file
Language=VBScript
ScriptType=1
Lowlander
Posts: 58336
Joined: Sat Sep 06, 2003 5:53 pm

Re: 1357: CSV, XLS and XML reports don't appear in menu

Post by Lowlander »

This has been like that for a while. I thought it was intentional.
gege
Posts: 866
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: 1357: CSV, XLS and XML reports don't appear in menu

Post by gege »

Lowlander wrote:This has been like that for a while. I thought it was intentional.
I also thought like that, at first. But the functionality is still there (in the script). And there's no apparent reason to get rid of it.
Besides, changing the order of entries in 'scripts.ini' changes the report displayed in menu, so it's more like a bug to me.
Lowlander
Posts: 58336
Joined: Sat Sep 06, 2003 5:53 pm

Re: 1357: CSV, XLS and XML reports don't appear in menu

Post by Lowlander »

Lowlander
Posts: 58336
Joined: Sat Sep 06, 2003 5:53 pm

Re: 1357: CSV, XLS and XML reports don't appear in menu [#75

Post by Lowlander »

Fixed in 1359.
Post Reply