Images not in a Collection (Album)
Is there any way to filter all images that are not belonging to an album or a collection?
-
Not in a single step. I use this method:
- Assign a color to every image in the album
- Navigate to All Images
- With Advanced Search select all images without that color
You do have to ensure that the color isn't used for some other purpose.
0 -
As far as I know you can only do it with a script, if you are familiar with them.
I have made some changes to the script available at https://forum.phaseone.com/En/viewtopic.php?f=70&t=29353&sid=8d12d57167ce5ba89e9f6e15b72015c8#p142155 and it seems to work find with v20.
(basically I think it was just replacing "Capture One 11" with "Capture One 20")
I would attach the script but it doesn't seem we can do that in this new forum.
0 -
Thank you all.
0 -
Hi Harry and Aristotle
I'm the author of the script mentioned above.
There is an updated version here that runs 10x faster because it takes a completely different approach. Instead of searching for each image somewhere, anywhere, it makes a table for all the variants, and then goes through each user collection only once filling in the table.
Its also so future comaptible.
The script is posted here, check out the fourth posting:
https://forum.phaseone.com/En/viewtopic.php?f=70&t=29499&p=146534#p146534
0 -
Hi ericnepean,
Thanks for the updated script.
Unfortunately it doesn't seem to work at all, at least for me.
The old version might have taken hours (at least for my 30.000 images), but did something and seems to work.
With this new version, after substituting again the text "Capture One 12" with "Capture One 20" only shows a notification "Finding images not in a user collection ..." and then nothing.
is there something I'm missing?
0 -
Sorry to hear that its didn't work for you, I'll try to fix that.
I downloaded the published script and found that it ran in about a minute for my Main Catalog of 16000 images in Capture One 12, on OSX10.14.6
However running it on a different catalog in Capture one 20.2 resulted in me immediately finding a bug, easy to fix. But there is another bug that I am investigating now.
Could you tell me which operating system you are using, and are you running it from Script Editor or Capture One?
0 -
OS : 10.15.4
C1: 13.0.4.10
I tried it from within Capture one
0 -
I just tried with the script editor and the error that shows up is
"Capture One 20 got an error: collection id "1831" of document "Main Catalog" doesn’t understand the “makeImageList” message."
0 -
Comments
1) If you run the script in Script Editor, with your desired version of Capture One open, it will automatically change the version number in all the Tell Application statements, no need to do it manually. Only where there is a fixed string does it need to be changed, and I've tried to avoid that - I think I have.
2) The line: if theImageID > theImageListSize then makeImageList(theImageID) should be changed to if theImageID > theImageListSize then my makeImageList(theImageID) This is what causes the: ... doesn’t understand the “makeImageList” message." error. I've referred to a function in my script in the middle of a tell block for Capture One.
3)Duplicate references in a Local statement don't seem to cause a problem, but I'll fix it
4)I've discovered some kind of value mismatch to the table size which I'm in the midst of investigating. (Could be the cause of the hang). The code is looking for an index larger than the table size, I'm trying to sort out how that came to be.
5)The script hanging could also be caused by a security issue associated with OSX10.15, when the script is run from Capture One.
0 -
in case it helps:
I changed the line you mentioned and ran the script from the Script Editor.
The script actually finished but the results seem to be lacking (it found 495 images whereas the previous slow version of the script found 3800)
0 -
Thanks for the comment. I think thats consistent with the other problem I'm seeing.
I need to take a break for a bit, time to cook supper.
I have a newer version of the script that does useful things like saving the found images in a folder, so I think I will update to the newest version and republish.
This will take me a few days.
/Cheers
Eric
0 -
Hi Walter, does 35820 seem like a reasonable number?
0 -
I found the problem and fixed it. I haven't added save in collection and progress bar yet.
What was happening is that the script makes a table of image IDs based on the images I found in user collections, from zero to the highest ID. But if an image was present with an ID higher than any of those in the user collections (and not in any user collection), then the attempt to find it in this table of image IDs would cause an error. Easy to fix.
I have posted it in the scripting forum along with a note about the github repo.
0 -
The new version of the script is still coming up with far less results than the original version for me.
I find the results from the original version more believable.
0 -
Hi Harry
Do you have a project in your user collections named
"ScriptSearchResults"?0 -
Yes, it's the one the original version of the script created.
(it has an album inside it NotInUserCollection...)
I've kept it as a reference. Should I delete it?
0 -
The new script doesn't (yet) have code that excludes searching that Project - my mistake.
So its taking everyting that you have found previously to be in a user collection. No wonder your numbers are low.
We'll fix that
0 -
I have posted a fix, version 12.07. No need for the user to add anything, it will ignore the ScriptSearchResults collection
0 -
Eric,
Could you please post your notinusercollection script to GitHub? PhaseOne seems to have made it impossible to access wherever it is here in the forums that you posted your version of this script.
0 -
Hi Eric,
I searched both the forums and GitHub for your script, but unfortunately couldn't find it anywhere. Could you repost the script somewhere and provide a link here?
0 -
Sure. I'll check it against Capture One 21 and post this weekend.
0 -
That's great news! Thanks in advance, Eric.
0 -
Hi Markus, here is a link to a new version Link
Let me know how this works for you.
0
Post ist für Kommentare geschlossen.
Kommentare
23 Kommentare