Illustrator CS2以下のバージョンではuserInteractionLevelの設定は効かない
気がついたのでメモ。
Scriptを使ってIllustratorでファイルを開こうとした時、リンク切れやフォント不足のダイアログを無視して開くためにはuserInteractionLevelを設定する
tell application "Illustrator" set user interaction level to never interact end tell
app.userInteractionLevel=UserInteractionLevel.DONTDISPLAYALERTS;
で、ダイアログが無視されるはずなのだが、これ、IllustratorCS2以下のバージョンでは効きません。
CS 3以上のバージョンなら大丈夫。
ん〜〜困ったな。