Closing Warning Boxes in InDesign CS

We have a script that opens QuarkXPress documents in InDesign CS and then does some formatting on them. Every once in a while a warning box will come up listing the missing fonts. The fonts listed there are not important in the formatting of he document. Is there any way to put something into the script so that that window will be closed and the script can continue on? We could goback to Quark files and remove those fonts, but that will be a hassle, or will require another script. It would be great if we could just close that warning window and keep the script going. Thanks for any help you can provide.

I don’t know about CS, but in 2, they make it real easy…

Check the CS disctionary for interaction level.

set user interaction level to never interact – Turn off inteaction to suppress ID’s warnings for missing fonts/assets

It also gets rid of bad link messages for image boxes with links to art that’s not available.

You set interaction back to always interact when you’re done – or just quit ID and the interaction will be back to normal the next time it runs.

That works great! Thank you very much

Hey guys - just reading this thread. It’s what I need to do. I need to stop a dialog/alert - it stops the second part of my script dead.

I tried the suggestion, although I keep getting an error that says I can set the user interaction level - is there a trick to this, where should it be positioned, etc.

Thanks - I’m a newbie to this scripting thing - so this might be simple - sorry in advance.

Scottie

Hi LaughBoy,
presuming that you’re using CS2 this works for me.

tell application "Adobe InDesign CS2"
				activate
				set user interaction level of script preferences to never interact

I think the interation level needs to be set before you perform any other Indesign commands.

Using CS3 - but nonetheless - it worked - thanks.

It’s sometimes just position and exactly what is typed (go figure)!

Smiles from the great white north.

Scottie

G’day

To restore the default interaction, use…


set user interaction level of script preferences to interact with all

Download & read the following PDF doc for scripting InDesign CS3…

http://tinyurl.com/2y9qw4

Santa