As DOpus 10 supports now meta data of files, I thought it could be nice to use it as a small media organizer.
This is what I would like to realize:
Rating Button: SetAttr META=rating:4 e.g. gives 4 stars to the marked files.
But how I could I make a button, which filters the folder to only show files rated with 4 stars?
Tag Button: SetAttr META/O=tags:Test sets the tag "test" to marked files.
But it overwrites all the other tags and itself. How could I do a button, which toggles and add/remove single tags?
Is it possible to create an button, which displays all files with user-defined search words?
Example: A button, which shows all files tagged with "test" or/and 4 stars in a virtual (search) folder.
That 3 things would be the most useful to me. Do you think it's realizable?
This command uses a Windows Search query to find things rated 4-starts:
Find QUERY rating:"4 stars"
You shouldn't have the "/O" there. The /O etc. just indicate the type of argument and aren't part of the argument/command-line itself.
It's just SetAttr META=tags:Test
I don't know if there is a way to add a tag to the existing tags via the command line. Send in a feature request if nobody else here can come up with a way.
[quote]Is it possible to create an button, which displays all files with user-defined search words?
Example: A button, which shows all files tagged with "test" or/and 4 stars in a virtual (search) folder.[/quote]
Yes, using the Windows Search stuff mentioned above. This thread has some discussion and useful links.
Found this thread looking for examples to set the Ratings metadata field. Thanks!
One challenge I had with adding a menu similar to this was having icons for it. So I made variations on one of the included 'large star' icons that shows 5 levels of being filled, to mirror 1- through 5-star ratings. Attached a zip with a DOpus menu button xml and the images to go with it, for any interested.
I liked the idea of those icons and was about to turn them into an icon-set so people could use them more easily, but I found they had fringing around the shadows if the background colour wasn't close to white, so I decided to re-make them.
I've posted the icon-set and the modified menu, with credit to you for the originals, in these two threads:
[quote="leo"]This command uses a Windows Search query to find things rated 4-stars:
Find QUERY rating:"4 stars"[/quote]
I am battling with this. I find my test file successfully with the command find query tags:"Excel" but not with find query rating:"4 stars". I've also tried "4 star", and just "4". I noticed that you refer to 4-stars (with a hyphen) in your original statement so I tried that too. No joy. What am I doing wrong?
I notice that this thread is about 2 years old but one question in it never got answered. Well, I guess the answer was found but it never got disclosed in the thread: what is the exact code to filter the ratings? The 'Find QUERY rating:"4 stars" from Leo did not work.
Find QUERY rating:"4 stars" is the right command, but it'll only work with ratings that Windows Search can understand, since that command runs the query through Windows Search. It works on MP3 files. It probably doesn't work on XLS files.
You can use Tools -> Find Panel -> Advanced to run the search using Opus's own routines instead of Windows Search.
Alright Leo. Thanks for answering.
Advanced search would not work for what I'm trying to accomplish. I need these buttons to stay visible on the screen all the time. So, I just thought of a cheesy work around: Find QUERY comment:"". In it, "sucks'=1 stars to "great"=5 stars and I just use a star image for each of the 5 buttons; Problem solved the cheesy way