Forum Replies Created

Page 4 of 410
  • Hi Paul, I crafted a script with my pal, Chad von GPT.

    1 – select the Originating Text Layer
    2 – in the UI, input number of duplicates
    3 – select font size from the Font Menu which populates the Font Menu using the listing from the Most Recently Used Font List which includes Family Font/Weights

    4 – Click on Create Duplicate(s)

    Duplicated Layers will inherit text from the Originating Layer while retaining its font style selected within the Script UI. DUplicated Layers share the same Label Color as the Originating layer. Duplicated Layers are Parented to the Originating Layer and they are also Locked.

    A – Refresh the Font List – it does what it says if you want access via the Menu to a font selection in the Character/Properties Panel that was performed after the script was launched

    B – Refresh Text Layer(s) – if you make adjustments to the Originating Text Layer and want the Duplicated Layers to update, select ALL related Text Layers and click on the Refresh Text Layer(s) button.

    I know you don’t need it but perhaps now that there’s a viable solution, you may want to do a revisit. And I also wanted to look at creating an MRU Font List which I also need for another script I was working on. So, no worries if you don’t need this script.

    HTH

  • Amazing to have a Fontastic Client!!! 😀

    Another option is to write a script to duplicate the First Layer – of course, if budget and time are willing. You could also automatically set the Font for each duplicate. If you’re good with prompting, an LLM could write such a script quite quickly. Perhaps this is something you may to to look into when this project is over.

    Why did you mention this in the PPro Forum?

  • The Paragraph Text Layer’s size is not exposed to expressions.

    Two things come to mind –
    1) you having to duplicate the Second Layer shows a strong possibility you have a convoluted/unnecessary workflow. So, perhaps you want to share more on what your end goal is

    2) Use a Text Reflow expression which usually hooks up Paragraph Width to a Slider. You then link the Second Layer’s Paragraph Width Slider to the First Layers’. Other than a Text Reflow Expression, some users link Font Size to Transform>Scale to achieve a similar result. For this route, you again link the Second Layer’s related props to the First Layer’s.

    Sense Make?

    And Hello, BTW. It’s been a long while. 🙂

  • You can’t change between Point Text and Paragraph (Box) Text using Expressions – it’s only doable via a script.

    What’s preventing you from manually changing the Text Layer type in the second layer?

  • I think the MographAE script can do this.

    HTH

  • Yup! A universalized code; for all Selector Types.

  • Roland R. kahlenberg

    March 30, 2025 at 3:27 pm in reply to: Shape layer reacts to text size

    sourceRectAtTime() is definitely what you need as part of your solution.

    I’d look at measuring the Text Layer’s length and then dividing that by 105 pixels to let you know how many squares you require. Id’ be looking at using a formula such as this –

    const numberOfSquaresRequired = 1 + Math.floor(theSourceRectAtTimeWidthOfTheTextLayer)

    HTH

  • Awesome! Thanks Dan.

    So, for anyone else that wants to get the Based On selection from the Amount Property, for an Expression Selector, it’s
    thisProperty.propertyGroup(1)(1).value

    For a Range Selector
    thisProperty.propertyGroup(1)(2).value

    and for a Wiggly Selector (works for both Min/Max Amount Proeprties)
    thisProperty.propertyGroup(1)(4).value

    Thanks again Dan!

  • Thanks Dan but I’m looking for a solution that uses the propertyGroup method – the Expression is applied to the Amount Property.

  • Looks interesting, Richard.
    Thanks for sharing.

Page 4 of 410

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy