CEP: Unique identifier for items and layers
Please provide unique identifiers for all page items and layers via script.
Right now it is not possible to save IDs of page items/layers in a variable or array and retrieve them at a later point in the script.
At first I could not believe it that there are no IDs. This is total basic and should be a no-brainer and default.
Thanks!
P.S. Current workaround: set custom tag on items. This works only as long as the user is not duplicating an items. Than you have two items with the same tag and it is not unique anymore.
Workaround here is my other feature request: receive events from AI in a CEP panel: https://illustrator.uservoice.com/forums/908050-sdk-scripting-bugs-and-features/suggestions/36902764-cep-waaaay-more-events-from-ai-to-cep-panels-e-g
-
m1b commented
I notice that pageItems now have a uuid property, so that's good.