Hello,
Did there is a way to duplicate the content of the comments into the titles and the inverse (depending what has been filed by the user). Eg. I have entered only comments for my pictures and I have left the titles emptied.
Can I do this automatically ?
Thanks and regards
Henri
It's actually rather easy if you're willing to write one of two lines of code:
1) Open jAlbum's "tools" folder and copy the file "Set comments to file names.bsh". Name the copy "Copy comments to titles.bsh"
2) Edit this copy in a text editor (jAlbum has one, just hit CTRL+E)
3) Edit line 15 which reads:
ao.setComment(ao.getName());
Change it to the following:
ao.setTitle(ao.getComment());
If you rather prefer to swap titles and comments, you can write code like this:
String comment = ao.getComment();
ao.setComment(ao.getTitle());
ao.setTitle(comment);
"ao" is the current
album object and this tool iterates through all album objects of an open project, including those in sub folders. It doesn't affect folders though. To also do so, simply delete the "else" word on the line before.