Quote:
Originally Posted by BetterRed
I want to show an icon if the data folder contains a file named todo.???? (might be ToDo.txt, TODO.EML, todo.stky, etc).
Something like extra_file_exists("todo.*") might be useful.
BR
|
Quote:
Originally Posted by chaley
Code:
program:
files = extra_file_names(':');
in_list(files, ':', 'todo\..*', 'Yes', '')
EDIT: where 'Yes' would be the icon name
|
I see I forgot to thank you for this, so I'm doing it now. Thanks
It works of course but because I use the file manager to add/delete the file to/from the books data folder the column icon doesn't appear/disappear in real time.
Re-apply current sort (F5) doesn't do the trick, perhaps it could/should. Header menu->Restore default layout doesn't do it either. Apart from restart, the only way I've found to get the icon updated, is switching to another library and back again.
BR