Copy link to clipboard
Copied
Hello friends,
Now that I have managed to find citations (special strings) in paragraphs, footnotes, tables and table footnotes - all with your generous help - I need to find out the file name (path) of the current document (or book).
All that i have found is how to get the file name of a book component (well, that i'll need also, but later).
How can I find the file name of the current document (that is not part of a book) and
How can I find the file name of the current book?
Thanks again for Your help
Klaus
Friends,
Suddenly I have found the answer (searching in the oject reference for "filename" rather than "file name" - "pathname" in the FDK reference):
alert ("Now processing book\n"+ app.ActiveBook.Name); alert ("Now processing document\n"+ app.ActiveDoc.Name);
Copy link to clipboard
Copied
Friends,
Suddenly I have found the answer (searching in the oject reference for "filename" rather than "file name" - "pathname" in the FDK reference):
alert ("Now processing book\n"+ app.ActiveBook.Name); alert ("Now processing document\n"+ app.ActiveDoc.Name);