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

JSX Script for export text layer from Adobe InDesign into .pdf as text layer

Community Beginner ,
Nov 07, 2022 Nov 07, 2022

Adobe Each image in Adobe InDesign has a link or full path in Links, then the name is also in Layers. I'm interested in how to export a .pdf so that this data will be displayed in a text layer in a .pdf afterwards? This layer can also be a text layer with the name of the image directly on the image, it is not disturbing at all, it would be even better, of course, to set the Opacity to 0% otherwise. It's that I need to give the data to an external application to read it. Thanks for any advice on how to do this, because I find it hard to believe that something like this isn't already supported.

 

TOPICS
How to , Import and export , Scripting , Type
512
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 2 Correct answers

People's Champ , Nov 08, 2022 Nov 08, 2022

Caption settings allow you to use the file name as you want, where is the trouble?

LoicAigon_0-1667897067713.pngexpand image

 

Translate
People's Champ , Nov 08, 2022 Nov 08, 2022

Just use the shift option below the align to field:

LoicAigon_0-1667906657563.pngexpand image

 

Translate
Community Beginner ,
Nov 07, 2022 Nov 07, 2022

I tried already with live caption which is good. But problem is that I want just the final DIR name of full path, for example. I don't need c:/something/underfile/dir/image.jpg but I just need to extract name of image, so image.jpg in text layer.

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
People's Champ ,
Nov 08, 2022 Nov 08, 2022

Caption settings allow you to use the file name as you want, where is the trouble?

LoicAigon_0-1667897067713.pngexpand image

 

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
Community Beginner ,
Nov 08, 2022 Nov 08, 2022

Yes, great. Thank you. It's working now. Problem was that I did not generate Static Caption. Can I also specify that text layer must be within range of image, not above below or at the side? This will be great then.

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
People's Champ ,
Nov 08, 2022 Nov 08, 2022
LATEST

Just use the shift option below the align to field:

LoicAigon_0-1667906657563.pngexpand image

 

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
Community Expert ,
Nov 08, 2022 Nov 08, 2022

Hi @letakij62669837, maybe you could ask on the Acrobat forum? I'm wondering if, in Acrobat, this information is preserved already. Or maybe the linked file's XMP data is accessible from the pdf? They might know in that forum.

Otherwise, as @Loic.Aigon suggests, live caption seems like a good candidate, and just use a paragraph or object style to make it "invisible".

- Mark

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
People's Champ ,
Nov 08, 2022 Nov 08, 2022

@m1b Interesting idea to process the request in the PDF. However, I just had a quick look and I am not sure that image's metadata is part of the output PDF.  As you said, maybe other folks in the Acrobat forum can have a solution to deal with this in Acrobat.

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