Skip to main content
Known Participant
July 11, 2024
Question

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

  • July 11, 2024
  • 1 reply
  • 341 views

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 has been closed for replies.

1 reply

m1b
Community Expert
Community Expert
July 11, 2024

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

Known Participant
July 22, 2024

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.

m1b
Community Expert
Community Expert
July 22, 2024

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.