I want to check Table cell style was created in indesign? If not created I have to create the cell style name with dummy propeties as like 'TBL_COLH' 'TBL_BODY' (This is cell style name).
1. If the 'TBL_COLH' & 'TBL_BODY' this cell style appeared in Indesign, give me alert 'The cell style already presented in Indesign.
2. If the 'TBL_COLH' & 'TBL_BODY' this cell style not appeared in Indesign, I have to create cell style with dummy properites.
Is this possible by script?
Yes, possible. Here it is.
var doc = app.activeDocument;
var array = ["TBL_COLH", "TBL_BODY"];
alert("'" + array[i] + "'" + "already exists in the document.")
Thanks a lot for your wonderful work.