Skip to main content
Inspiring
Dec 8, 2018 11:11 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
Dec 21, 2018 5:16 AM UTC

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

Translate
Loic.Aigon
Legend
Dec 20, 2018 7:53 PM UTC

Did you try InDesign's afterOpen event ?

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

Translate