Graphics

 View Only
  • 1.  Auto center text when importing text from file.

    Posted 11-25-2014 00:03
    Hello,

    I work for a university which just implemented xpression prime. We do a lot of live lyrics which we import straight from text documents, generally with one pager per verse/chorus. I created a template to accomplish this, however, I am unable to get the text to auto center on the Y axis causing the operators to have to manually adjust each slide. Does anyone know a way to auto center the text on the Y axis?

    Thanks


  • 2.  RE: Auto center text when importing text from file.

    Posted 11-25-2014 03:23
    In the non-prime versions you would use Visual Logic to do this. You would use the bounding box height to set the Y Position so as more lines of text get added, the Y position gets moved up the screen.



    Since Prime doesn't have Visual Logic I think you will have to move the text manually.

    You could publish the Text Position to the sequencer to make it easier to move the text for each slide without needing to make a new scene for each one. Are you familiar with publishing the Text Position and other properties so that you can edit them from the sequencer?

    #XPression


  • 3.  RE: Auto center text when importing text from file.

    Posted 11-27-2014 14:07
    I'm not sure if what Xpression Prime version can or can't do but if it can't do visual logic, here is a script that does the same thing.

    This will put the centre of the text box in the centre of the page. Change the + 540 to adjust the position.

    Dim text as xpTextObject

    dim height as integer

    Self.GetObjectByName("Text1", text)

    height = text.boundingbox.height

    text.posY = height / 2 + 540

    #XPression


  • 4.  RE: Auto center text when importing text from file.

    Posted 12-01-2014 23:32
    Prime has visual logic but cannot do scripts. Brian, the visual logic scene you suggested did exactly what I needed, thank you so much!

    #XPression