Copy link to clipboard
Copied
Hi
here is a small problem that i can't understand.
I make a text frame with name "nomcoul".
I can change the size, the color, the horizontal scale but impossible to make it's alignement to center
tell text frame nomcoul of document 1
set horizontal scale of every line of the text range to 85
set size of every line of the text range to 15
set fill color of every word of every line of the text range to {black:40}
set alignment of every paragraph of the text range to center -- doesn't work
end tell
Thanks
Try using 'justification' instead of 'alignment'.
I believe alignment is the vertical position of the text.
Copy link to clipboard
Copied
Try using 'justification' instead of 'alignment'.
I believe alignment is the vertical position of the text.
Copy link to clipboard
Copied
i was thinking horizontal position
i will try with justification
Thanks for help
Copy link to clipboard
Copied
So here is the result !
you are right !! the good sentence is :
set justification of every line of the text range to center
Thanks a lot
!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more