• 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 text loop scripting trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Illustrator text loop scripting trouble


  • Subject: Re: Illustrator text loop scripting trouble
  • From: Yvan KOENIG <email@hidden>
  • Date: Mon, 11 Sep 2006 22:09:23 +0200


Le 11 sept. 2006 à 21:53, email@hidden a écrit :

I keep getting an the following error when I run this script:
"Adobe Illustrator got an error: requested property not available for this object."


Can someone help me troubleshoot this?


tell application "Adobe Illustrator"
set textArtItemCount to count text frames of document 1
repeat with itemCount from 1 to textArtItemCount of document 1 as reference
set sizeList to size of textRef
repeat with indexCount from 1 to length of sizeList
if (item indexCount of sizeList = 12) then
set size of character indexCount of text frame itemCount of document 1 to 18
end if
end repeat
end repeat
end tell




It seems that this line:
repeat with itemCount from 1 to textArtItemCount of document 1 as reference
is the wrongdoer.

Edit it as:

   repeat with itemCount from 1 to textArtItemCount

Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Illustrator text loop scripting trouble (From: email@hidden)

  • Prev by Date: Illustrator text loop scripting trouble
  • Next by Date: Re: Illustrator text loop scripting trouble
  • Previous by thread: Illustrator text loop scripting trouble
  • Next by thread: Re: Illustrator text loop scripting trouble
  • Index(es):
    • Date
    • Thread