File Extension in Status Bar

Hello,
I want to have the File Extension (e.g. .PDF, .JPEG, ,MP3, etc.) display in the status bar for the selected file. I can see how to show the file name which includes the extension, but not the extension only. Is this possible through a script?

Thanks.

Using evaluator

{=fileExt(Val("sel:name"))=} 

It looks normal, but the script log shows an error...

And what will be shown when selecting more than one file with different extension?
FWIW, I think you're looking for {ft:sel} (eg. {ft:sel:frame,5})

1 Like