Page 1 of 1

How to put BugID in file name?

Posted: Sat Jul 04, 2020 6:17 pm
by cubic
I would like to have the BUGID in the mad/png file that is sent by email (as attachment). Preferably, both names will also have appended a unique ID (same for both the PNG and MAD file). Maybe a timestamp could be used as ID. This is already done in the email subject line.

Reason: this way, if I have (I do have) multiple bug reports I could simply download all files in one folder and inspect them, grouped by bug ID. Now, I have to download each attachement, rename it, then download the next one (next email), etc. If there are 40 bug reports/emails, this could take quite a while!!

The ideal format (I had this in EurekaLog) would be:

AppName ver1.x Bug3829FE EFileNotFoundException UserOrPcName TimeStamp.mad
AppName ver1.x Bug3829FE EFileNotFoundException UserOrPcName TimeStamp.png

Re: How to put BugID in file name?

Posted: Wed Jul 08, 2020 11:31 am
by madshi
Easiest way would be to use RegisterExceptionHandler(stDontSync, epQuickFiltering), then modify the attachment settings in your handler, using e.g. "exceptIntf.ScreenShotSendAs". See here:

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