Ask a Question related to Adobe Illustrator Macintosh, Design and Development.
-
spike_grobstein@adobeforums.com #1
Create multi-line point text from applescript in CS
Hey, i need to create some descriptive tags in illustrator CS using a script (to show the size of an object), and I want the tag lines to be 2-line, like:
5"
HIGH
as a single point text object, but it doesn't seem to be working:
set heightInches to (my p2i(height of b) as text) & "\"\nHIGH"
set heightTagX to (item 1 of position of b) + (width of b) + textSize * 3
set heightTagY to (item 2 of position of b) - ((height of b) / 2) + textSize * 3
make new text frame with properties {name:"heightTag", kind:point text, contents:heightInches, position:{heightTagX, heightTagY}}
that script is creating the text I want, but without the newline in it.
any ideas?
spike_grobstein@adobeforums.com Guest
-
Buttons with Multi-Line Text
Hi, I've just been trying FlexBuilder and want to put a button in with an image and some text. But the text is not automatically wrapping. Is... -
Multi-line TextBox - Paste text with numbered list, bullet list, tab character
Hi All, I need a server control that's exactly like a multi-line TextBox, but also allow users to paste text with numbered list, bullet list, and... -
multi-line text field in dataset passed to web services
Hi everyone I'm having a problem with passing a dataset with a text field in one of the tables contaning multiple lines separated by \r\n to the... -
Multi-line text
If I have a text layer with multiple lines, the spacing between them is extreme. Is there any to decrease the spacing in Elements v.2? Thanks,... -
restrict entry in a Multi line text box
If they put 25,000 characters in there, you don't have to show them all on the web page. Let them store whatever they want, then when those design... -
Douglas_Habben@adobeforums.com #2
Re: Create multi-line point text from applescript in CS
set heightInches to (my p2i(height of b) as text) & "\"" & return & "HIGH"
Douglas_Habben@adobeforums.com Guest
-
spike_grobstein@adobeforums.com #3
Re: Create multi-line point text from applescript in CS
thanks!
I wonder why illustrator doesn't like my \n.
spike_grobstein@adobeforums.com Guest



Reply With Quote

