var sel=app.activeDocument.selection; if(sel.length>0){ var myConfig=new RadialRepeatConfig(); myConfig.radius=400; myConfig.numberOfInstances=5; myConfig.reverseOverlap=false; app.activeDocument.radialRepeatItems.add(sel[0], myConfig); }