category = 'PartsBin/Presenting' partsSpace = lively.PartsBin.partsSpaceNamed(category) partsSpace.load() partItems = partsSpace.getPartItems() partItems.forEachShowingProgress( this.get('ProgressBar'), function(partItem) { var part = partItem.loadPart().part, serialized = partItem.serializePart(part) new WebResource(partItem.getHTMLLogoURL()).put(serialized.htmlLogo); }, function(partItem) { return partItem.name }, function(partItem) { alertOK('Done') })
Convert logos of a certain parts category: