Querying EasyCatalog Data Using ExtendScript
Copy link to clipboard
Copied
Has anyone had experience with EasyCatalog (EasyCatalog | InDesign Plug-Ins | 65bit Software)? Using ExtendScript, We're trying to query all page elements that were tagged with a hidden field by EasyCatalog after importing a flat-file. The field we're trying to query is commonly known as the StockCode or ProductCode. Apparently lets you import tabular data from a flat file and then creates hidden text fields for each page element containing metadata, such as the product id. I'm very new to InDesign programming, so I was wondering if there is a way to query the InDesign document using InDesign's Javascript API to determine the stock code that was placed by EasyCatalog for each tagged item programmatically? If this is possible, what is the best way to query the InDesign "DOM" for "hidden" text fields?
Copy link to clipboard
Copied
Hi,
Have you asked 65bit (support mail)? They are really helpful and reply very fast.
Copy link to clipboard
Copied
I have and their answer assumed you have a license for their scripting module. The customer doesn't want to purchase an additional module. We just ended up exporting the document to IDML and scraping the ids ourselves.
Copy link to clipboard
Copied
Hi,
Indeed you need the scripting module to script the EasyCatalog plugin through ExtendScript.
And I second Kinanu.be, their support is amazing.
Loic

