Re: Illustrator 10 - font list, font property on the text item?
Re: Illustrator 10 - font list, font property on the text item?
- Subject: Re: Illustrator 10 - font list, font property on the text item?
- From: Armin Egginger <email@hidden>
- Date: Sat, 17 Apr 2004 08:23:32 +0200
Thanks Shane,
this works really fine and do what I want. Thanks for the lesson and
your help
Armin
-- my script
set xHeadLine to "This is the Headline - WOW" -- why make it a
property?
tell application "Adobe Illustrator 10"
set xAllFonts to text faces
tell layer 1 of document 1
set x to 10
set y to 10
repeat with i from 1 to (count of items in xAllFonts)
set xTextItem to make new text art item at end with properties
{contents:xHeadLine, kind:point text, position:{x, y}}
set properties of text of xTextItem to {font:(item i of xAllFonts),
size:15}
set y to (y + 18)
end repeat
end tell
end tell
--
Shane Stanley <email@hidden>
_______________________________________________
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.
_______________________________________________
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.