Skip to main content
Inspiring
December 8, 2018
Question

Error : cannot handle the request because of model alert or dialog is active

  • December 8, 2018
  • 2 replies
  • 678 views

Hi,

I want to get the meta data of the document when open..

so i have used "documentAfterActive" event and get meta data of the opened document in indesign..

but if font missing dialog/any other dialog shown then that function returns the following error..

I have also tried with user interaction level but did not worked..

Pls help

This topic has been closed for replies.

2 replies

Inspiring
December 21, 2018

yes... i have tried with afterOpen

but i have found the solution with beforeOpen event..

function beforeOpen(eve){

   eve.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;  

  }

if you have any other solutions.. please share with me

Loic.Aigon
Legend
December 20, 2018

Did you try InDesign's afterOpen event ?

Apart from that this dialog should be discarded by user interaction levels, which syntax did you use ?