Quantcast
Channel: Adobe Community : Popular Discussions - Bridge
Viewing all articles
Browse latest Browse all 9359

Adding thumbnails to collection

$
0
0

Hi, working with Adobe Bridge CC on Windows 10 (javascript) - I am trying to add objects to a newly created collection - how do I go about... ?

 

var myCol = app.createCollection('my new collection');
myCol.add(new Thumbnail(File('/c/folder/pathtomy/file.ai')));

 

But this doesn't seem to work. I also tried children.push, which didn't work...


Viewing all articles
Browse latest Browse all 9359


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>