Subj : How to update file directory descriptions?
To   : nelgin
From : Digital Man
Date : Sun Nov 03 2024 11:54 am

 Re: How to update file directory descriptions?
 By: nelgin to All on Sun Nov 03 2024 11:20 am

> This is more to Digital Man but you never know...
>
> I want to update the descriptions for all the directories in a library. I am
> reading in line by line from a file ...anyway...
>
> I tried updating
>
> file_area.lib[libname].dir_list[i].description

That's a read-only JavaScript property. Writing to it won't do anything.

> Where libname is the library I'm updating and i is the index of the
> directory I want to update. Not working, no error but also no change.
>
> I guess I can do it by updating the .ini file but that seems a bit clunky
> and I'm sure there's a better way.
>
> Open to advice...

Editing the msgs.ini file is the only way (either manually or via JS). I'd recommend using cfglib.js, but it hasn't been extended to support the msgs.ini file yet. :-(
--
                                           digital man (rob)

Breaking Bad quote #45:
Tough love, all right? Here goes: You 2 suck at peddling meth. period. - Saul
Norco, CA WX: 67.0�F, 48.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net