• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Illustrator 10 - font list, font property on the text item?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Illustrator 10 - font list, font property on the text item? (From: Armin Egginger <email@hidden>)
 >Re: Illustrator 10 - font list, font property on the text item? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: From loginhook to a dialog?
  • Next by Date: Re: Appleworks bug and possible workarounds
  • Previous by thread: Re: Illustrator 10 - font list, font property on the text item?
  • Next by thread: InDesign - get old/latest file path of missing link
  • Index(es):
    • Date
    • Thread