Article View: adobe.scripting.indesign
Article #9902Re: AS--Filteration Required
From: poojayadav
Date: Sun, 16 Jul 2006 12:37
Date: Sun, 16 Jul 2006 12:37
13 lines
1137 bytes
1137 bytes
Hi Stanley,
You are greate, exactly what i want. Please see code below, I have added, now if user will click over "Delete" button then that fonts should be deleted.
set thetype to font type of every font
repeat with i from 1 to count of items of thetype
if item i of thetype is in {OpenType CFF, OpenType CID, OpenType TT} then
display dialog (item i of theFontList) & " : is an Open Type Font" default button 1 buttons {"Continue", "Delete"}
if button returned is "Delete" then
delete item i of theFontList
Thanks
Pooja
Technical Details
Message-ID:
<3bc0e252.4@webcrossing.la2eafNXanI>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: poojayadav@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: AS--Filteration Required Message-ID: <3bc0e252.4@webcrossing.la2eafNXanI> Date: Sun, 16 Jul 2006 05:37:56 -0700 References: <3bc0e252.-1@webcrossing.la2eafNXanI> Lines: 17 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