I have modified a script...
Could you point these modifications?
Where have you met the problem?
Theres no problem, and the script works just fine, I just want to be able to add the "Custom Alt text" of an image to a cell in the CSV file produced?
so modify this line:
myData = theFiles[myCounter].name+csvSep+myImagePath+csvSep+myPage + "\r";
where are you going to take "Alt Text" from?
where are you going to place it in?
If your "Alt Text" is "my Image info text"
you want to place it at the end of current image line:
myData = theFiles[myCounter].name+csvSep+myImagePath+csvSep+myPage+csvSep+"my Image info text" + "\r";
Hi and thank you so much for you help!
its the individual meta "Custom Alt text" I want to add to the CSV, so for instance, if I have an image with alt text of ABC, and one with DEF, I want the CSV to look like the below.
The ALT text comes from the alt text source "Custom" window in the "Object export options" and wants to be placed in a row at the end of the CSV file:
link path page alt text Image404.JPG computer:test 3:Image404.JPG 1 ABC Image432.JPG computer:test 3:Image432.JPG 2 DEF
The script already create the first three rows.
you can „read“ the custom alt text with
For an example you can open a document with one placed image. This image should have custom alt text. Then run this code snippet:
Perhaps this helps a little bit.
<edited by pixxxelschubser>
It could be better to „loop“ through the document links (instead through AllGraphics)
All working now! you have really helped me on that one! I used the second one, to loop through, and the CSV now has the ALT text in a new column!!