Zum Hauptinhalt gehen

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Deleting Images from the Current Collection

Kommentare

5 Kommentare

  • Eric Valk

    Even without Applescript, Capture One doesn't move variants to Trash. For example, if an image has five variants, all but one variant may be deleted, but nothing is added to Trash when you do that.

    If you wish to remove an Image from your catalog, then the Image is moved to Trash.

    A corollary of the rule that "the image must be in the project where its variants are used", is that when you remove an Image from a collection, all its variants are removed as well.

    Moving an Image to Trash means that it is removed from all other collections, and so it also means that all its variants are removed from other collections.

    I think your script might work better if you moved Images to Trash

    If all you want to do is remove an unwanted variant (which is not the only variant) perhaps the delete command might work.

    0
  • Quentin Black

    Thanks, Eric.  I did try first to remove the Image (as that's what I'm really after).  But the C1 Applescript dictionary confused me with the move inside collection variants list of variant command.  I guess I was just looking for a move command.  This seemed the "natural" syntax to expect but then it *is* Applescript...

    But now you have me thinking about manipulating the collections' (Trash included) lists of images and variants.  I looked briefly at a mega-script you wrote some years back and posted to this forum: https://support.captureone.com/hc/en-us/community/posts/360012111597-Moving-selecting-images-into-new-folder-and-add-it . I haven't been able to work it out yet but believe you are basically copying variants to the variant lists of other collections?  Is that right?

    But of course, I'm not trying to copy, but delete.

    And I'm working on this as I type...  Just had success with "delete <variant>".  So simple!  With a single-variant image, the variant and image went to the Trash. Not exactly what I expected but precisely what I'm looking for!  Thanks for pointing me in the right direction (and making my scripting efforts look so small)!  Legend!

    0
  • Eric Valk

    Hey! -  thanks for the update on what worked.

    In that script I was trying to organise variants into a sequence or group, and one of the useful options is to create an album containing only the sequence or group. So quite different what you are trying to do.

    I've always been rather cautious about using some Software to sutomatically delete images, because if I ever get it wrong (and SW always has bugs), then I could loose a LOT of images. Or I might loose some that I don't  notice until its too late.

    I feel far safer if I use Applescript to create a collection with images that should be moved to Trash, and I then I personally check that, and if its right, I move those images to trashes.

    That could be just me being too conservative.

    0
  • Quentin Black

    Too conservative?  No, that's a cool step.  I'll look at that mod to my script.

    As for Applescript and precious photo libraries: I'm very aware of the potential for disaster.  But it seems that the C1 programmers may be too, what with their implementation of the 'delete' command that we now know moves the 'deleted' items to Trash.  It would be nice if this were somewhere in the docs...

    0
  • Eric Valk

    Ass you say, moving to Trash is a two step process and has a certain safety net already built in.

    However accidently moving images to Trash means that all record of the collections to which the image was attached is lost.

    Accidently moving a large number of images to Trash would still have consequences for me.

    0

Post ist für Kommentare geschlossen.