Process Files Based on Ratings

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
andrewj
Posts: 69
Joined: Sat Sep 01, 2007 2:46 pm
Location: UK
Contact:

Process Files Based on Ratings

Post 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
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Process Files Based on Ratings

Post 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
Pierre.
andrewj
Posts: 69
Joined: Sat Sep 01, 2007 2:46 pm
Location: UK
Contact:

Re: Process Files Based on Ratings

Post by andrewj »

Thanks. What is the database if I want to make an ODBC link to it?
Andrew
User avatar
XnTriq
Moderator & Librarian
Posts: 6514
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Process Files Based on Ratings

Post 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<–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Post Reply