Graphics

 View Only
  • 1.  Limit lines of text in Xpression

    Posted 04-11-2024 16:22

    I am working on updating our Xpression graphics so they are not cut off by our news ticker at the bottom of the screen. I have word wrap enabled on our text elements for horizontal text constraints. However, our producers are able to press "Enter" on their keyboards and create as many lines of text as they want. Is there a way to set limits on the number of lines of text without using a character limit?

    Any help with this would be greatly appreciated. Thank you!



    ------------------------------
    Robert Perry
    Senior Newscast Director
    KHQ-TV
    ------------------------------


  • 2.  RE: Limit lines of text in Xpression

    Posted 04-11-2024 17:17

    A VB or Visual Logic script that splits on \n or \r\n.

    I don't recall being able to use Visual Logic to find or split special characters though.

    I would recommend a non-displayed text field to be published for input. The text on the ticker is not published.

    In the "on prepare" event write a script that takes the published field, splits it on newline, and only uses the first two lines to populate the text on the ticker.



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 3.  RE: Limit lines of text in Xpression

    Posted 04-16-2024 14:54

    Our news ticker comes out of our Master Control hub. I am not sure how to do anything with scripting. I have done a little bit with visual logic. I am not sure where to start with that though.



    ------------------------------
    Robert Perry
    Senior Newscast Director
    KHQ-TV
    ------------------------------