Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Model Number Index

Return to Member Forum

  • Author
    Posts
    • #59786
      frikinelmo
      Member

      I work at a company that creates large product catalogs in InDesign. (Multiple 1k+ page catalogs)

      Is there any easy way (or script) to read our text boxes (stories) and spit out the Model# and Page number for each?

      Each product has a text box that is formated like this:

      Model No. (tab) Color (tab) Mfr. Retail:

      CA7592C (tab) Chrome (tab) $500.00

      CA7592SL (tab) Stainless (tab) $550.00

      I'd like it to report out:

      CA7592C – p.472

      CA7592SL – p.472

      Can anyone point me in the right direction? (links to read, scripts that might help)

      Thanks,

      Bill

    • #59846
      David Blatner
      Keymaster

      One way to do this would be to use a GREP find/change to apply a character style to the model numbers (even if that character style didn't have any visual appearance… just a name), and then use the IndexMatic script to create the index:

      https://creativepro.com/bui…..d-list.php

    • #60115
      Marc Autret
      Member

      Thanks for mentioning IndexMatic :-)

      Note that with the new version—IndexMatic2—you no longer need to 'pre-style' the targets in InDesign since the script allows you to capture any desired pattern through a regular expression.

      In frikinelmo's example, one can directly achieve the index using a single query. Something like:

      /(CAd+[A-Z]+)t/ => $1

      See IndexMatic2 user's guide for further details:

      https://www.indiscripts.com/pos…..er-s-guide

      Regards,

      Marc

Viewing 2 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads