Okay...scripting is new to me, so forgive me if this is an easy answer.
Here is what I am trying to do:
I have a header display that features a gradiant rule both above and below the header. If I set it up with 20 point text and position the paragraph rules above and below, everything is kosher.
Now, the customer wants to use this same header on several products with different sized pages, so the header might be 30 points here, 50 points there, and so on.
I want to have the Paragraph Rule automatically reposition and resize itself so it maintains the same look when I manually change the point size of the text. The same way it would if I were rescaling an image or vector artwork. Right now, I spend lots of time fiddling the position and weight of the rules by hand (there are LOTS of different sizes).
I won't be ale to cobble something together on short (or medium) notice, but thefollowing is important information:
If your rule position and thickness is okay at a 20pt size, can we assume both position and thickness should increase linearly with a size increase? I.e. for your 30 pt heading, should thickness and position be 1.5 times that of the 20 pt heading?
Correct. It should have exactly the same relative positions and thicknesses at all sizes. This is a header treatment for a customer with very strict style requirements.
And, by the way, thank for the amazingly quick response!