Illustrator 10 - font list, font property on the text item?
Illustrator 10 - font list, font property on the text item?
- Subject: Illustrator 10 - font list, font property on the text item?
- From: Armin Egginger <email@hidden>
- Date: Fri, 16 Apr 2004 10:06:05 +0200
Hi all Scripters,
i try to make in Illustrator a headline in different fonts to check the
best design for this headline. Illustrator should place the headline
specially for every fontstyle. I do it in Illustrator, because I need
the headline in a path. But I have some problems in the script
1. I can't get the font list from Illustrator
2. The text item don't accept the properties
3. I don't find the properties with the "font applied"
--my script
property xHeadLine : "This is the Headline - WOW"
tell application "Adobe Illustrator 10"
tell layer 1 of document 1
set xAllFonts to get fonts as list
set x to 10
set y to 10
repeat with i from 1 to (count items in xAllFonts)
set xTextItem to make new text item {contents:xHeadLine, height:15,
position:{x, y}, width:250} --font:(item i of xAllFonts)
set y to (y + 18)
end repeat
end tell
end tell
Who can help? What I'm doing wrong?
thanks in advance for any help
Armin
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.