There is no need to ask IDM for an additional menu command for getting the file name. A template can be used to get it. There are several template options for file names. See the chapter "Display/Modify Templates command (Advanced menu)" in help of UE/UES.
Templates can be used with hot keys, with the template list view, inside macros and they are also present in the menus and can be added to the toolbars. I have created for myself some templates to get the file name info I need in the current situation and use it in my macros. I cannot use unfortunately these templates when writing macros for other UE/UES users because they maybe (surely) have not these templates.
Best regards from an UC/UE/UES for Windows user from Austria