Page 1 of 1

Process Files Based on Ratings

Posted: Sat May 08, 2010 7:38 pm
by andrewj
Hi,

I'd like to find a way to apply different file actions to a directory of files based on the ratings I have assigned. To make it a bit more challenging, I have RAW and JPG pairs, and only the JPG files get ratings, but I then need to process both related files.

1. Is there any way to do this directly in XnView? There doesn't seem to be an easy way to process dependent on ratings.

2. Is there any way to get a file listing complete with rating information? I could then easily write a little VB program or similar to do what I want.

3. Is there any way to read this information from the XnView DB file?

Thanks
Andrew

Re: Process Files Based on Ratings

Posted: Mon May 10, 2010 7:54 am
by xnview
andrewj wrote: 1. Is there any way to do this directly in XnView? There doesn't seem to be an easy way to process dependent on ratings.
No, you can't
2. Is there any way to get a file listing complete with rating information? I could then easily write a little VB program or similar to do what I want.
You would like the filelist with rating information? Curently not possible
3. Is there any way to read this information from the XnView DB file?
If you know SQL, you can use sqlitebrowser

Re: Process Files Based on Ratings

Posted: Mon May 10, 2010 5:12 pm
by andrewj
Thanks. What is the database if I want to make an ODBC link to it?
Andrew

Re: Process Files Based on Ratings

Posted: Mon May 10, 2010 8:15 pm
by XnTriq
andrewj wrote:What is the database if I want to make an ODBC link to it?
XnView creates two SQLite v3 database files:
  1. %ProgramFiles%\XnView\cache\XnView.db or
    %AppData%\XnView\XnView.db
  2. %ProgramFiles%\XnView\category.db or
    %AppData%\XnView\category.db
8<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––