Re: Illustrator 10 bug
Re: Illustrator 10 bug
- Subject: Re: Illustrator 10 bug
- From: Shane Stanley <email@hidden>
- Date: Fri, 24 May 2002 15:25:46 -0700
On 24/5/02 4:44 AM +1000, Simon Topliss, email@hidden, wrote:
>
Can someone please confirm if this is a bug.
>
>
I'm trying to add text to a text art item in an Illustrator 10 doc. The text
>
contains a blank line, but Illustrator keeps adding two blank lines instead
>
of one and removing the last character of the text.
>
>
-- Begin Script
>
set theText to "line 1
>
line 2
>
>
line 4"
>
-- also tried:-
>
-- set theText to "line 1" & return & "line 2" & return & return & "line 4"
>
tell application "Adobe Illustrator 10"
>
set contents of text art item 1 of document 1 to theText
>
end tell
>
-- End Script
>
>
When run, text art item contains the text:
>
>
line 1
>
line 2
>
>
>
line
FWIW, I get the same result here.
--
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.