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

Images to hyperlink

Return to Member Forum

  • Author
    Posts
    • #89742

      Hi.

      I have a 100 pages magazine and need to make hyperlinks of some URLs in the middle of the text (no problem) and in some advertising pages too (PDFs). I’m using a script that automatically convert text to hyperlink using GREP, but it can do nothing to the PDF ads, so I do them manually.

      Today I was thinking in maybe include in my script something to take the URL for each ad and put it in a text frame, so the script will auto make it as a hyperlink. The problem is user will need to click direct in the text to make it work. Maybe I can group my text frame with the URL for the ad with the ad and the script will take the whole group and make a big button over them.

      What do you think? Is there a way to do that?

      Thanks,
      Luiz

    • #89743

      Hi Luiz,

      first it is not clear, if you need the hyperlink on a addtional textframe or on the frame, that holds the PDF.

      If the last one: You could give the frame a label with the hyperlink or could enter the url e.g. in the description-field of the metadata in the PDF. I did not test it, but it is possible to read the value by the Objectexportoptions.

      Kai

    • #89746

      Dear Kai Rübsamen,

      Sorry: what I need is, when exporting the Magazine PDF, to make the advertising page “clickable” making user go to company’s website.

      I was thinking about a textframe because I didn’t find a way to auto convert from the image, and I went to a solution using a TXT file with the ad to store the URL and used like this:

      set MyLink to (read (file “url.txt” as alias))

      But you’re right: Metadata! I really forgot. I will try your suggestions. Thanks a lot!

    • #89754

      The benefit of a label or metadata is, that you can apply it directly to the object. So the script can read the url and apply it to the parent of the PDF > the frame.

    • #89798

      Thanks, Kai Rübsamen.

      I’ll go for metadata, so I can have the PDFs already “configured” to show the URL ad will have no extra work in including it every time when importing them into my file.

      I’ll test it and see. :)

      Thanks a lot!
      Luiz

Viewing 4 reply threads
  • You must be logged in to reply to this topic.
Forum Ads