Skip to main content

Get Processing Queue Status?

Comments

6 comments

  • www.shootmachine.co

    You could use the batch done script, which could kick off your upload script when the batch is finished(?)

    0
  • Sean Murphy

    Oh, that's a great thought!  I'll have to research that some more.  If I recall batch done scripts run anytime a batch is done, right?  This is the only script running on that machine so don't think it would would have a negative impact.

     

    Thanks so much @www.shootmachine.co!

    0
  • www.shootmachine.co

    That is correct. If it helps I made a post about events a while back: https://shootmachine.co/2021/06/22/events/

    You basically just have to point the property to a valid script. From memory it accepts either file alias or a valid UNIX path (as text) to the script.

    set batch done script to "path/to/fancyscript.scpt"

    Now that script executes every time the queue completes. This will persist until you turn it off again:

    set batch done script to ""

    You need to make this framework for enabling/disabling in your logic. Check out Emory Dunn's script setter app - its so good for this event stuff!

     

    0
  • Sean Murphy

    Cool info!  I forgot that I had made a similar finding with these scripts four years ago and posted on this forum: 

    https://support.captureone.com/hc/en-us/community/posts/360012349658-Batch-done-script-using-scpt-file

    Do you know the difference between Batch Done and Processing Done scripting?  My script is currently going through hundreds of folders, sends specific images to process, moves on to next folder until it has made its way through all shoots from the day.  I need to find when they are all fully out of the queue before kicking off that next script.  Batch done and processing done just sound very similar.  I assume I'm probably looking for processing done.

    0
  • www.shootmachine.co

    Processing Done is invoked after every variant finishes processing (and passes args to the invoked script for ID, original RAW path and Output path for the file). 

    Batch done is a simpler event - and runs after every committed batch. So if I process 20 images but (select and process in batches of 10), batch done script should run twice. 

    There are other properties for variant objects you could mix in, e.g:

    is queued is true

    which you can use to find out if it is in the queue.

    0
  • Sean Murphy

    Thanks a lot for the info.  I'll have to try some things out.  

    0

Please sign in to leave a comment.