Conditional graphics

W

WriteTrack

I have a user's manual that needs to have conditional text and graphics. I
fugured out how to use the ASK field to change the text as needed, but is
there any way to automatically change the graphics as needed. So, for
example, with Product A, one set of grpahics would be linked, while with
Product B another set would be linked into the same document. Thanks!
 
M

macropod

Hi WriteTrack,

You could do this by embedding REF field inside an INCLUDEPICTURE field. For
example:
{INCLUDEPICTURE "C:/My Documents/Product {Product}/Item1.jpg"}
where the 'Product' Bookmark is set to 'A' or 'B' in response to the
question used in your existing ASK field to determine the text.

Cheers
 
W

WriteTrack

Thanks - this worked great until...

All the graphics were in there and working perfectly until I updated the
table of contents. Then all my text references reverted to "Error: Bookmark
not defined" and all my graphics changed to the dreaded red X. Any ideas why
this happened and what I can do to solve it without having to reinsert all
those graphics? Here is a sample of one of my references --

{INCLUDEPICTURE "c:\\my documents\\{ companyname }\\{ productname } screen
captures\\download screen 1.jpg"\*MERGEFORMAT \d

I think the code is right since it was working before the update, but maybe
I missed something. It did not change when I updated the TOC - it just
doesn't work anymore.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top