JavaScript and Item Specifics

Any chance you can add the Item Specifics/Attributes array (name, value) to the JavaScript interface??

The AppleScript support and Dictionary already has this. :slight_smile:

Thanx,
Neal

Would something like this work for you:

function run() {
    for (const listing of selectedListings) {
      attributes = listing.attributes;
      for (const key in attributes){
        consoleLog ("key: " + key);
        consoleLog ("values: " + attributes[key]);
      }
   }
}

PERFECT!!! :clap: :clap: :clap:

Neal

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.