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

Event for document activate.

New Here ,
May 13, 2015 May 13, 2015

Copy link to clipboard

Copied

Hello.

We have requirement to change menu according which document is opened and activated in Framemaker.

We have different types of document, but all are FrameMaker FM document.

I search for some event when document is activated/switched to as active, but cannot find any.

When I have opened two documents and switch from one document to another in UI, I'll get only BackToUser event.

Is there are way how to know that document has been activated?

Is it safe to handle BackToUser and according FP_ActiveDoc change the menu in FrameMaker.

TOPICS
Scripting

Views

319

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
Mentor ,
May 13, 2015 May 13, 2015

Copy link to clipboard

Copied

Hi,

Have you tried FA_Note_PostActiveDocChange? I've used it successfully and I believe that it has been supported for some time.

Russ

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
New Here ,
May 14, 2015 May 14, 2015

Copy link to clipboard

Copied

LATEST

Hello.

Looks like it's working, despite it is marked as "Only for FM Internal Use".

But in FM10 it is also called when document is closing by close of FrameMaker, but I think we can handle it.

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