Get current file name in a filter

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
johndeighan
Posts: 1
Joined: Mon Mar 17, 2025 9:57 am

Get current file name in a filter

Post by johndeighan »

Filters are a great new feature. However, in my filter, I need to retrieve the file name of the file that's being filtered. Is there a way to do that?
User avatar
bbadmin
Site Admin
Posts: 938
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Re: Get current file name in a filter

Post by bbadmin »

It is actually possible to do this in the same way as with user tools. Simply include $File as a parameter to the filter.

I have deleted my previous incorrect response.
Post Reply