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

How Can I Mass Apply Hyperlink to a Text Anchor for a Certain Word?

Community Beginner ,
May 31, 2020 May 31, 2020

Copy link to clipboard

Copied

Ok so let's say I want every instance of the word "red" to be hyperlinked to the text anchor "Big Red" and Character Style 1 to be applied to the hyperlink format. How would I do that?

I know how to set text anchors and hyperlink text to it with a specific character style but I can't figure out how to do is on a large scale.

 

Can something like that be done with GREP? Is there some function in find/replace I'm unfamilar with? Can it even be done?

TOPICS
How to , InCopy workflow

Views

400

Likes

Translate

Translate

Report

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

Community Expert , May 31, 2020 May 31, 2020

Sure. 

 

  1. Add the anchor to Big Red.
  2. Add the hyperlink to the anchor for the first occurrence of Red.
  3. Copy Red.
  4. Edit > Find/Change:
    1. Find: Red
    2. Change: ^c

 

^c means to paste the contents of the clipboard and maintain formatting.

 

~Barb

 

example1.gif

 

 

 

Likes

Translate

Translate
Community Expert ,
May 31, 2020 May 31, 2020

Copy link to clipboard

Copied

Sure. 

 

  1. Add the anchor to Big Red.
  2. Add the hyperlink to the anchor for the first occurrence of Red.
  3. Copy Red.
  4. Edit > Find/Change:
    1. Find: Red
    2. Change: ^c

 

^c means to paste the contents of the clipboard and maintain formatting.

 

~Barb

 

example1.gif

 

 

 

Likes

Translate

Translate

Report

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
Explorer ,
Oct 24, 2022 Oct 24, 2022

Copy link to clipboard

Copied

LATEST

Hi @Barb Binder 
This is a good option but problem is that when we select "All Documents" from the search menu it gives an error.

 

If we want to apply the above method in multiple InDesign files what will be the process for that?
I'm thinking to create a cross-reference through this process.

 

  1. Create Text Anchor
  2. Insert cross-reference -- Destination choose Text Anchor
  3. Copy Text Anchor
  4. Edit > Find/Change: -- Search : All Documents
  5. Find: Text Anchor
  6. Change: ^c
  7. Change All

 

I'm looking for the shortest solution. If anyone has any other way let me know.

Thanks!

 

Likes

Translate

Translate

Report

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