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?
Virtual Folders:
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:
Awesome - thanks Leo! I'm new to the forums and don't customize this sort of thing that much. Yours are much better and I'm definitely using them instead.
[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
I made a quick video showing what to do. (To see it larger, view it on YouTube or full-screen it.)
So you don't have to pause the video or type things manually, here are the two key parts in text form.
The filters are like this (obviously you can change this if you want something slightly different, e.g. matching exact star values instead of that many stars or greater):
Rating -- Match -- Is greater or equal to -- 5
The commands are like this:
Find FILTER NAME="5Stars" IN {sourcepath$}
Apr 2013: Some later discussion related to this thread has been split into a separate thread: Find query by rating.