Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Script or Paragraph Style?

Explorer ,
Jul 20, 2016 Jul 20, 2016

I have an Excel Spreadsheet with Business Name, Phone, and Category.

Admittedly - I'm an InDesign noob - but I am picking things up quickly.

I want to format this info (over 600 entries) into an almost "phone book" like layout.

3 columns, Bold first line, tabs: with dotted Leader, regular typeface font phone number, next line category: italic.

Link so:

This Business Name ......... (555) 555-5555

Financial Services

I also need to adjust spacing between each (space after paragraph), kerning between Business Name and beginning of "..." (and after).

Paragraph Style isn't doing it....it's styling the whole entry as the first line.

Do I need to build a script?

Thank  you to anyone who takes the time to add some insight.

-Josh

TOPICS
Scripting
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Jul 24, 2016 Jul 24, 2016

Here's a little screen-cast.

There's a small goof that the change grep should have be done before the change text.

Translate
Contributor ,
Jul 24, 2016 Jul 24, 2016

YES, something like this.

John

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 25, 2016 Jul 25, 2016

Thought I would add one more option to the great suggestions above.

Inspired by the subject inquiry, my blog for this week presents a solution to a problem such as this. It starts by having the user save the Excel file as tab/return delimited text. Then within the InDesign document a nested paragraph style iis created. Finally,, with an insertion point active in the InDesign document, the user runs an AppleScript to open the tab/return delimited text file. The script then massages the text, and sets the text for the insertion point to the massaged text. Done. This may be a good example for a beginning scripter or even for someone who wants to know more about creating nested paragraph styles. Enjoy. You will find the blog at yourscriptdoctor.com/blogs.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines