🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9896

Re: AS--Filteration Required

#9896
From: poojayadav
Date: Sun, 16 Jul 2006 11:44
32 lines
1484 bytes
Hi Stanley

It works here is the complete script

tell application "Adobe InDesign CS2"
	set theDoc to the front document
	tell theDoc
		set theFontList to name of every font as text
		set TotalFont to count of every font
		display dialog "Tolat Fonts are : " & TotalFont
		repeat with i from 1 to TotalFont
			set FontName to get name of font i as text
			display dialog "The Name of the fonts are : " & FontName

		end repeat
		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 "Open Type Font"
			else
				display dialog "Post Script Font"
			end if
		end repeat
	end tell
end tell

But I want to display Which font is Open Tyepe and which one is Post Script.

How can I do it.

Thanks
Pooja
Technical Details
Message-ID: <3bc0e252.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.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.2@webcrossing.la2eafNXanI>
Date: Sun, 16 Jul 2006 04:44:19 -0700
References: <3bc0e252.-1@webcrossing.la2eafNXanI>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing