🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #691

Preventing Dialogs From Popping Up

#691
From: ddaanntt
Date: Mon, 09 Mar 2009 13:49
20 lines
1859 bytes
Hello -

I'm sequentially opening, processing, and closing a number of InDesign CS3 documents using AppleScript. Each document uses different fonts so before opening each document I clear out the ~/Library/Fonts folder and load it with fonts for the next document.

Occasionally as a document is opening a modal box titled "Missing Fonts" pops up with the message "The document "xxx.indd" uses one or more fonts which are not currently available on your system. The text will use a substitute font until the original font becomes available." along with a list of missing fonts. How do I prevent this from popping up and disrupting the script? 

      <http://support.adobe.com/devsup/devsup.nsf/docs/51471.htm> says to use
      set user interaction level to never interact which I tried but I get the
      message "Can't set �class UIAc� of application "Adobe InDesign CS3" to
      �constant elnteNvr�." That page appears to only go as far as CS2, so I
      checked the CS3 scripting dictionary which indicates set user interaction
      level of script preferences to never interact When I use this (at the
      Adobe InDesign CS3 application level) no error message appears but the
      Missing Fonts dialog still shows up.





Any ideas on how to prevent this? Thanks very much...
Technical Details
Message-ID: <59b82963.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e53e179972cd5deb,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII
From: ddaanntt@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Preventing Dialogs From Popping Up
Message-ID: <59b82963.-1@webcrossing.la2eafNXanI>
Date: Mon, 9 Mar 2009 06:49:45 -0700
Lines: 25
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit