Re: Illustrator text loop scripting trouble
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