Repeated Library Item Names
Hi,
I need to know if a library item is place twice. My idea is getting library item name and stored as script label. Then adding an event listener to check whether same script label coming twice it will alert the user.
var libName = app.libraries.everyItem().assets.everyItem().name;
alert(libName)
Library item Names ----->Script Label--->Event listener

If i place Blue library item twice it have to alert.
Please help me regarding my logic is correct or not.
Thanks,
Karthi