• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

File name of current document

Community Expert ,
Jul 03, 2013 Jul 03, 2013

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

TOPICS
Scripting

Views

628

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 05, 2013 Jul 05, 2013

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);

Votes

Translate

Translate
Community Expert ,
Jul 05, 2013 Jul 05, 2013

Copy link to clipboard

Copied

LATEST

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);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines