How to insert DocInfo field values into a text frame?

Previous topic - Next topic

Laurentzed

Hello,

I am looking for how to retrieve the DocInfo field values and insert them into a text frame.
For instance, I'd like to retrieve the document title value to be updated at multiple locations into document text frames.

I have gone through all internet references without finding some clear descriptions about to achieve it.

Thanks

Laurent

a.l.e

In the Scripter, there is getInfo(), but it only returns author, info, and description.

It should be easy to patch the function to return the other values you are looking for.

But I don't know if writing a script is what you are looking for.

But if you just want to have a value that is repeated multiple times in the document and kept in sync, you can use a pattern (some sort of linked scrapbook item) or define a mark variable.

You still have to write it down once (more) but then you have it repeated wherever you need it.