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

Cannot Set Export Recipe "Existing" Preference

Comments

5 comments

  • www.shootmachine.co

    I suspect someone forgot to add the properties after doing a new feature. Make a feature request I guess... 

    0
  • Walter Rowe
    Moderator
    Top Commenter

    That's what I suspected. Thanks.

    0
  • JSS

    I'm working on an AppleScript that seems similar to what you are saying.  I'm looping through session folders in an "outer folder," processing the selects according to a specific recipe, and storing the results in a session specific folder (which is elsewhere in my file system).  I did not try to create a recipe object.  Instead I looped through the repeated through the "recipes" element (which is a list of recipes in the document object) until I found the one with the right name, and set a reference to that recipe object.  The repeat loop also set the "enabled" property to true for the desired recipe, and false for all the others.  Using the reference, I set the property "root folder location" of the recipe to the path to the outer results folder, and "output sub folder" to string "Selects".

    Then, you have to create a list of variants.  First, repeat through the element "collections" of the document object to find the collection you want.  A "collection" is a list of "image" objects, each of which has a list of "variant" objects (in the element "variants").

    Finally

    set jobId to process variantList with desiredRecipe

    If successful, process returns a jobId that can be used to monitor job progress (I hope .. not done yet), or an error message that begins with "ERROR".

    Hope that helps.  It works for me.  However, as I loop through sessions, I need to wait until the last job is done before starting the next session.  Still working on that.

    0
  • Walter Rowe
    Moderator
    Top Commenter

    JSS .. your response seems unrelated to my Existing Files subject.

    0

Post is closed for comments.