How to get file name in File Template Macro

Hi, I want to create a macro that uses the file name in order to name some parameters. I know there's already a macro that does this but I want to affect the filename adding or removing something.

How could I get access to this variable inside the plugin?

Any help would be really appreciated.

Best regards,

Roberto.

Please sign in to leave a comment.