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. ⚠️

when process done do something

Kommentare

4 Kommentare

  • Emory Dunn

    Rather than try to play the timing game the better option is to use Capture One's background handlers. Since it looks like only need to know when all images have been processed you can save the second part of your script to its own file and then call:

    tell application "Capture One 20"
    set batch done script to "location:of:your:script"
    end tell
    1
  • Wanokuni

    Thanks a lot Emory, That works perfectly! wondering if there is a  way to have both of them in the same script file?

    0
  • Emory Dunn

    If you're just calling the script from the Scripts menu I don't believe so. Both of those simply call the script without any additional input, so there wouldn't be a way to tell how the script was run. 

    The only way I can think of would be to use the presence of the expected processed files as an indicator. If there are no files that the JS script needs to act on, process the selected variants. If there are files run the JS script. 

    1
  • Wanokuni

    confirming the presence of the processed Variants indicator sound a good option as well, I tried to search about this topic, I am still not sure how to do it.

    0

Post ist für Kommentare geschlossen.