-
Position Change Script
Hi Guys,
Sorry if this has been asked before but I couldn’t find it.
I am trying to write an if else statement for a 3 liner text box.
I want the position of the text to change depending on how many lines of text e.g.
if there is only 1 line of text it will drop down.
if there is 2 lines it will drop down less.( I was thinking maybe targeting the Character count (accounting for spaces) of each line of text and then when it reaches max position will change, but not sure how to write this with correct syntax. )
max char line 1 = 10
max char line 2 = 20
if charcount(trim) = 10? , horizontal position – 10
else if charcount = 20 , horizontal position – 5
?This is for a MOGRT if anyone is wondering why you would do this.
Thanks,