Temporarily suppress missing fonts dialog
Is there a temporary way to supress/ignore the missing fonts dialog box using a script?
I'm batch running a script to look over a lot of .psd files. It'll just hang when it finds a psd that's missing a font and it'll pop up the dialog box.
The idea is then, once the script has finished, to then switch back on the dilaogue once more. Restoring balance, peace, harmony and type substition options to the universe once more.
Sort of something like this:
// Switch off any dialog boxes
displayDialogs = DialogModes.NO; // OFF
// upon start
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
// do stuff
// upon completion
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
// Switch ON any dialog boxes
displayDialogs = DialogModes.ALL;
Only that won't work for Photoshop 😉