Skip to main content
This topic has been closed for replies.

1 reply

CarlosCanto
Community Expert
Community Expert
August 8, 2024

use the uuid property

 

 

var idoc = app.activeDocument;

alert(idoc.textFrames[0].uuid);

 

 

 

to find items by their uuid use the following

 

 

var idoc = app.activeDocument;

//alert(idoc.textFrames[0].uuid); // 5501

var tframe = idoc.getPageItemFromUuid (5501);

tframe.contents = "new content";