InDesign Script GREP Replace From Spreadsheet

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 18

  • @wc7
    @wc7  2 роки тому +1

    New as of version 2.1, thanks to user feedback the script now has the option to ignore hidden layers.

  • @rickhodesigns
    @rickhodesigns Рік тому

    Hi William,
    Love the script, I'm able to do the change one by one for each column. Is there a way to do, let's say, 10 columns at once?

    • @wc7
      @wc7  Рік тому

      If I understand correctly, uncheck 'confirm each change' should do what you're asking. If I've misunderstood, explain further.

    • @rickhodesigns
      @rickhodesigns Рік тому

      @@wc7 It's a different situation. I have multiple find and change columns in one csv. So instead of copy and pasting all the changes into one columnIs there a way for it to do multiple columns?

    • @wc7
      @wc7  Рік тому

      @@rickhodesigns The script works with standard properly formatted spreadsheet data, meaning columns are categories (find, change) and rows are records (things to find/change). If your data is records in columns instead of rows as they should be, use a CSV transpose tool to swap the columns and rows. For example www.convertcsv.com/transpose-csv.htm

    • @rickhodesigns
      @rickhodesigns Рік тому

      @@wc7 I posted a reply with a link to a .png file to show you the example. Looks like youtube may have blocked it. I'll send you a message via your website.

  • @walkermana
    @walkermana 2 роки тому

    Along with the GRED find&change, Can the script find format and change format too?

    • @wc7
      @wc7  2 роки тому +2

      I have on my list of new scripts to create a variation of this one that also finds and changes character and paragraph styles at the same time. Still in the works. I will post back when I have something.

    • @wc7
      @wc7  Рік тому

      The script "Find Change From Spreadsheet" now combines Text and GREP, and adds find/change character and paragraph styles.
      www.marspremedia.com/software/indesign/find-change-from-spreadsheet

  • @superspiegi7098
    @superspiegi7098 Рік тому

    Hello! The script does not work with "positive lookback"... --> it wants to replace the find patern with the find patern...

    • @wc7
      @wc7  Рік тому

      I'm not familiar with the term "loopback". Do you mean "look behind" perhaps? Does the InDesign Find/Change dialog accept the pattern and make the correct replacement? The script uses the GREP capability of InDesign. If InDesign can do it, the script should be able to also. If not, the script can't either.

    • @superspiegi7098
      @superspiegi7098 Рік тому

      Hello@@wc7 - yes I mean "positive look behind". Find pattern: (?

    • @wc7
      @wc7  Рік тому

      @@superspiegi7098 Yes I can confirm the script fails on a look behind. It will fail on a look ahead as well. It has to do with how the confirmation feature is handled. I'll need to rework it some. Whether these kind of patterns can work with confirmation is still questionable. The path of least resistance might be limit look behind/ahead to when confirmation is disabled. I will be working on it and post back when I have an update to try.

    • @wc7
      @wc7  Рік тому

      @@superspiegi7098 Turns out it was not too difficult to work around. And it works with or without confirmation enabled. See the webpage to download updated version 3.2
      www.marspremedia.com/software/indesign/grep-replace-from-spreadsheet
      A contribution would be super appreciated. Click the PayPal button on the webpage.

    • @superspiegi7098
      @superspiegi7098 Рік тому

      Hello@@wc7 - I have tried it again, but I am very sorry to say, that it is still not perfect ;-) and I don't want to bother you!!
      When there are in ID these paragraphs:
      GW0302L1
      € ???,-
      GW0302K2
      € ???,-
      GW0502L3
      € ???,-
      (different order numbers - I have every order number and price in a seperate frame)
      this is my text csv:
      suche;ersetzen
      (?

  • @rcdabral7494
    @rcdabral7494 Рік тому

    great Sir, can we apply paragraph and character style by csv

    • @wc7
      @wc7  Рік тому

      There is a script for that. "Find Change CSV Multi Doc": www.marspremedia.com/software/indesign/find-change-csv-multi-doc

    • @wc7
      @wc7  Рік тому

      The script "Find Change From Spreadsheet" now combines Text and GREP, and adds find/change character and paragraph styles.
      www.marspremedia.com/software/indesign/find-change-from-spreadsheet