Skip to main content
Ch__Efstathios
Inspiring
May 16, 2016
Answered

Cannot get active document when user clicks the document in Adobe FM 2015.

  • May 16, 2016
  • 1 reply
  • 348 views

I am facing the following problem:

I have a timer in my application that hits repeatedly after 2 seconds to get the active document name (if there is any).

If the user selects some text (on mouse click down) of the active document from Adobe FM 2015 then the following API call returns 0 (which is wrong):

F_ApiGetId(FV_SessionId, FV_SessionId, FP_ActiveDoc)

Later, if user leaves the mouse button (mouse click up) then in the next hit of the timer the document name will be fetched.

It seems that the Adobe FM 2015 cannot handle simultaneously both user input from the application and the API calls from my application.

Why is this happening?

This topic has been closed for replies.
Correct answer Ch__Efstathios

It seems that Adobe FrameMaker 2015 cannot handle at the same time user UI events and FDK API calls from external applications.

When user interacts with the FM application the FDK API calls of my external application fail with error codes.

1 reply

Ch__Efstathios
Ch__EfstathiosAuthorCorrect answer
Inspiring
May 17, 2016

It seems that Adobe FrameMaker 2015 cannot handle at the same time user UI events and FDK API calls from external applications.

When user interacts with the FM application the FDK API calls of my external application fail with error codes.