Skip to main content

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

Comments

4 comments

  • NN635011283150781994UL
    If I read this correctly, the script creates a symbolic link of all images with "VC" baked into the filename?

    Seems pretty slick as long as the files are contained with the original file, but if a client asks for only the selects and does not want the original file will the files still work as RAWs?
    0
  • Daniele Ugoletti
    You can process the file like the original (or a variants) and give to the client the processed file.
    0
  • Eric Valk
    This is a really good idea, I can see a few advantages over my approach. I think I will start using it myself.

    Upon checking the scrip, I have one suggestion:

    At the beginning, you have a slightly complicated way of determining if the document is a Session or Catalog.


    set tehDocumentId to (id of (current document))
    set theDocumentIdLength to length of tehDocumentId
    set theDocumentCatalog to characters (theDocumentIdLength - 9) thru -1 of tehDocumentId as string

    if theDocumentCatalog is ".cocatalog" then
    set isSession to false
    else
    set isSession to true
    end if

    Instead of that you could use this line (it must be inside Capture Ones's Tell block)

    set isSession to (get session = (kind of current document))

    The reason that this works, and similar things do not, is that (kind of current document) returns an Enum. The way that an Enum is converted to text is different if Applescriopt is the parent or Capture One is the parent; comparing an enum with a text string is not robust.

    My suggested code checks if two enums are the same, and text conversion does not occur. This kind of code works no matter how the script is run.
    0
  • Daniele Ugoletti

    Script updated with CO21 support

    :)

    0

Post is closed for comments.