Skip to main content
suep89793525
Known Participant
September 21, 2022
Question

Variable for adding file name of imported images?

  • September 21, 2022
  • 3 replies
  • 406 views

Hi--I create parts manuals with imported graphics on each page. To make my proofing/editing work easier, I'm trying to find a way to display the names of these graphics on each page. I thought a user-defined variable added to the master page footer might work, but I haven't been able to find any examples of how to construct such a variable. I do know how to generate a list of all references--my question is about whether or not it is possible to display the names of the references on the page where they are actually located.  Any thoughts or suggestions?  Thank you! 

This topic has been closed for replies.

3 replies

Community Expert
September 21, 2022

An option might be to create a generated LOR of imported graphics. Under each graphic in the document you can insert a cross reference to the filename in the generated list. It is not really a completely automated solution though.

Bjørn Smalbro - FrameMaker.dk
Barb Binder
Community Expert
Community Expert
September 21, 2022

Hi Sue:

 

One more idea: this is a similar concept to a List of Effective Pages, but you are inputting graphic names in the running heads instead of dates. You could accomplish this by adding a template frame to the master page (you can add content on body pages to template frames but not to background frames), defining a new flow and disabling auto-connect. Then you can add your graphic names directly to the body pages (no variables required).

 

Here is a link to how to create an LEP, which may help you gain an understanding of how to set it up.

https://www.rockymountaintraining.com/adobe-framemaker-how-to-create-a-list-of-effective-pages/

 

~Barb

~Barb at Rocky Mountain Training
K.Daube
Community Expert
Community Expert
September 21, 2022

I think You can't do that with a variable. A variable has a fixed contents and it is placed on a master page very body pages shows the same text...

A script could do this:

  • Run through all anchored frames and check for the name of the imported (by reference!) 
  • Either overlay the graphic in a corner with a text line containing that path/name (see the bottom right corner of the graphic at https://www.daube.ch/docu/fmaker82.html
  • Or add a paragraph after the anchored frame with this information.
  • Or insert a footnote with that information (referenced directly after the anchor of the frame)
suep89793525
Known Participant
September 21, 2022

It sounds as though the scripting method would work perfectly. Unfortunately, I have no experience with writing scripts. Do you happen to know where I might be able to find a downloadable script that overlays the graphic with a text line as you showed me in your example?  I'd really appreciate it if you can point me in that direction.  Thank you!

frameexpert
Community Expert
Community Expert
September 22, 2022

I don't have an off-the-shelf solution, but if you contact me offlist, I can provide you an estimate for writing one for you. rick at frameexpert dot com