Skip to main content
Topic: titleformat_text_filter_impl (Read 333 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

titleformat_text_filter_impl

What is the best way to sanitize a path generated from titleformat script via format_title_nonlocking when one wants to reproduce the path generated by foobars built-in methods? I've tried using titleformat_text_filter_impl_filename_chars.
However, the result differs from the path generated when using said titleformat script with 'File Operations' from the context menu.

In particular, I observed the following differences:
'?' replaced with '_' vs. being removed
'|' replaced with '_' vs. replaced with '-'
'.' in foldernames not being removed vs. being removed

Maybe there is a better method to achieve what I want, but I overlooked it in the SDK?

 
SimplePortal 1.0.0 RC1 © 2008-2019