Skip to main content
Known Participant
Jul 11, 2024 9:20 AM UTC
Question

How do we get the aiUID (XMLID_3379_) of the TextFrame Using Extendscript

Hi Folks,

Is there any way to get aiUID  (Ex:XMLID_3379_) of the every TextFrame ID in the artwork using Extendscript in Adobe CEP Panel.

 

Thanks in advance.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

m1b
Community Expert
Community Expert
Jul 11, 2024 9:27 AM UTC

Hi @Jothi Sankar Anand S I don't know the answer, sorry, but just in case you don't know this: many Illustrator DOM objects have a uuid property, eg.

var doc = app.activeDocument,
    textFrames = doc.textFrames;

for (var i = 0; i < textFrames.length; i++)
    $.writeln(textFrames[i].uuid);

 - Mark

Translate
Known Participant
Jul 22, 2024 4:26 AM UTC

Thanks @m1b 

But I need uuid like this format XMLID_00000166675523387772578110000017883559628530422415_ (Using C++ this one able to get but in Adobe CEP unable to get) Is there any possibilities to get this id using extendscript.

Translate
m1b
Community Expert
Community Expert
Jul 22, 2024 4:37 AM UTC

Ah, I see. Unfortunately I don't know of any way to access that uuid via ExtendScript. Sorry. It may be possible to write something in C++ via the SDK to provide access to it via CEP, but I am not experienced in that area. I hope someone can help.

Translate