Article View: adobe.scripting.indesign
Article #9895Re: AS--Filteration Required
From: Shane_Stanley
Date: Sun, 16 Jul 2006 10:41
Date: Sun, 16 Jul 2006 10:41
20 lines
1725 bytes
1725 bytes
On 16/7/06 5:18 PM, "poojayadav" <member@adobeforums.com> wrote:
> 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
You're going to have to iterate:
set thetype to font type of every font
repeat with i from 1 to count onf iteems of thetype
if item i of thetype is in {OpenType CFF, OpenType CID, OpenType TT}
then
...
--
Shane Stanley <sstanley@myriad-com.com.au>
Technical Details
Message-ID:
<C0E0550E.2D1D6%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossingReferences:
<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: Shane_Stanley@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: AS--Filteration Required Message-ID: <C0E0550E.2D1D6%sstanley@myriad-com.com.au> Date: Sun, 16 Jul 2006 03:41:50 -0700 References: <3bc0e252.-1@webcrossing.la2eafNXanI> Lines: 24 Received: from bld-mail02.adl2.internode.on.net [203.16.214.66] by adobeforums.com; Sun, 16 Jul 2006 03:41:53 -0700 Received: from [192.168.1.3] (unverified [59.167.191.109]) by mail.internode.on.net (SurgeMail 3.2f) with ESMTP id 226713894 for <adobe.scripting.indesign@adobeforums.com>; Sun, 16 Jul 2006 20:11:51 +0930 (CST) Return-Path: <sstanley@myriad-com.com.au> User-Agent: Microsoft-Entourage/11.2.5.060620 Thread-Topic: AS--Filteration Required Thread-Index: AcaoxHGfsGR3WxS3EduQcAARJHm3nA== MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing