Hello there,
I want to write Flush Zone Script like this:
Please suggest me a way to do this.
Thanks in advance,
Olfarr
Why? Simply use the last character's insertion point position:
http://jongware.mit.edu/idcsjs5.5/pc_InsertionPoint.html#horizontalOff set
and compare it to the current text frame width. (Don't forget to take into account that the paragraph could have a right indent or last line right indent.)
North America
Europe, Middle East and Africa
Asia Pacific