Skip to main content
Known Participant
May 13, 2015
Question

Event for document activate.

  • May 13, 2015
  • 1 reply
  • 389 views

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.

This topic has been closed for replies.

1 reply

Legend
May 13, 2015

Hi,

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

Russ

hanzelkoAuthor
Known Participant
May 14, 2015

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.