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

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

Contributor ,
Dec 08, 2018 Dec 08, 2018

Copy link to clipboard

Copied

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..

image.png

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

Pls help

Views

569

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
People's Champ ,
Dec 20, 2018 Dec 20, 2018

Copy link to clipboard

Copied

Did you try InDesign's afterOpen event ?

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

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
Contributor ,
Dec 20, 2018 Dec 20, 2018

Copy link to clipboard

Copied

LATEST

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

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