Page 1 of 1

How to get attachements as a single file?

Posted: Sun Oct 04, 2020 12:42 pm
by cubic
Hi
I get many bug reports by email. I would like to have them sorted by folders.
When I drag and drop them from my email client, they all have the same name, and the new dragged files will overwrite the old/existing ones (on disk).
it is quite painful to rename them all manually. And then you have to keep the PNG and MAD files paired togheter.
This process cannot be really automated.

Request
Can we have the reports as a single file? Like the E.L. has?
And also, the bug name should be also in the file name: like:
Re: Bug report Program.exe 12.1, Invalid pointer operation.

Great Delphi plugin
Thanks!

Re: How to get attachements as a single file?

Posted: Mon Oct 05, 2020 9:44 am
by madshi
The easiest solution would be to customize the file names etc at runtime. E.g. you could do it in a custom exception handler, by using RegisterExceptionHandler(). And in your handler you could then access the "exceptIntf" parameter, e.g. like this:

Code: Select all

procedure YourExceptionHandler(const exceptIntf: IMEException; var handled: boolean);
begin
  exceptIntf.BugReportSendAs := 'whateverFunnyName.mes';
end;
See for a list of related settings you can change at runtime here:

http://help.madshi.net/MESettings.htm#I ... portSendAs