var item=app.activeDocument.noNativeItems[0]; alert(item.name); item.name="Adobe Illustrator Sample"; alert(item.name);