Just a quick update, I changed dialog type from IDialog::kModal to IDialog::kModeless it solved the issue, but I want the dialog be a modal, does someone has idea for modal dialog.
Scripts are limited by modal dialogs the same way the UI is.
A workaround might be closing your dialog, running the script and
Can you explain a bit more, assume I'm in in dialogController::ApplyDialogFields() I got collected what I wanted from this dialog, now I want to close it and execute my code, how do you do that?
I've spent the last week trying to find a solution to this problem!
I'm using Adobe InDesign CS5 and even with the UserInteractionLevel set to NeverInteract i kept getting the "missing fonts" modal dialog box.
Well, it is a relief I finally figured out a way to get rid of the dialog box. What i actually did was to into the extions manager for CS5 and removed the "Font Usage Dialog" plugin. This worked like a charm! No more missing fonts dialogs.
The reason I am able to do it this way is because I do not ever want to see the missing fonts dialog, this might not be the case for other users.
Jeremiah, you're a genius! I've been pounding my head against the desk for a year now, trying to get around those annoying missing font dialog boxes. Nothing I did in the scripts would help. All I had to do was disable that plugin and BAM! – we're back in business. Thank you! Thank you! Thank you!!