Quantcast
Channel: Adobe Community : Unanswered Discussions - Illustrator
Viewing all articles
Browse latest Browse all 41949

Suppressing alerts while opening a file in Illustrator

$
0
0

Hi all,

Am very new to illustrator scripting (started only a couple days ago), and have a very basic question.

I get these warning messages when some fonts are missing. I would like my script to ignore these and continue.

 

This is what I tried, but it does not seem to work:

 

var workingFile = new File(fassTmpDirPath + newFileName);

app.UserInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;

app.open(workingFile);

 

Do I need to set the level elsewhere?

 

Thanks!

Kashmira


Viewing all articles
Browse latest Browse all 41949

Trending Articles