🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9894

Re: AS--Filteration Required

#9894
From: poojayadav
Date: Sun, 16 Jul 2006 07:18
25 lines
1353 bytes
Hi All.

I have added below two more requirement.

1. Check for XML Parsing Error
2. Check for Open Type Font.

I have develop this script for Font checking:

tell application "Adobe InDesign CS2"
   set theDoc to the front document
   tell theDoc
       set thetype to font type of every font
       if thetype is in {OpenType CFF, OpenType CID, OpenType TT} then
           display dialog "Open Type Font"
       else
           display dialog "Post Script Font"
       end if
   end tell
end tell

But it has some problem, if I used both OpenType and PostScript Font then it show only "Post Script Font" dialog. I know what mistake I am making, and I am trying to resolve it.

Thanks
Pooja
Technical Details
Message-ID: <3bc0e252.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0e252.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,7e1ffd90801b3084
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: poojayadav@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: AS--Filteration Required
Message-ID: <3bc0e252.0@webcrossing.la2eafNXanI>
Date: Sun, 16 Jul 2006 00:18:50 -0700
References: <3bc0e252.-1@webcrossing.la2eafNXanI>
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing