[JS][CS5] Storing a variable in the document label
hi.
i need store id number of item document label.
i have tried:
mylabelstring = new string(mydoc.allpageitems[n].id)
mydoc.label=mylabelstring;
but got error
result: error: invalid value set property 'label'. expected string, received function data.
i can add id number by:
mydoc.label="713";
but need variable.
i have seen posts using function 'insertlabel' passing value , key. 'key' in this?
any ideas?
cheers
roy
More discussions in InDesign Scripting
adobe
Comments
Post a Comment