Graphics

 View Only
  • 1.  Text Auto Squeeze based on String Value (names) in Visual Logic

    Posted 07-21-2020 03:04

    Hello all.  I would appreciate any help with this issue.  I would like the Auto Squeeze for a text (person's name) to adjust depending on which name is entered.  I have different lower thirds that have an image tied to a person's name.  If person one's name is used, image 1 is used.  Different names have different sized images.  Right now, the majority of the names will not require Auto Squeeze.  Of the other names, I need 3 different values, 625.00, 580.00 and 575.00. I think I'm close to figuring it out with Visual Logic using String Values and value inputs for the Auto Squeeze Width, but I need help.  This is an example of what I'm trying to do: 

    I would appreciate any help.  Thank you.

     



  • 2.  RE: Text Auto Squeeze based on String Value (names) in Visual Logic

    Posted 07-21-2020 13:11

    Can you link your project? 


    #XPression


  • 3.  RE: Text Auto Squeeze based on String Value (names) in Visual Logic

    Posted 07-21-2020 13:30

    Something like this could work - using the multiply blocks only because you have the need for more than two choices/scenarios here


    #XPression


  • 4.  RE: Text Auto Squeeze based on String Value (names) in Visual Logic

    Posted 07-21-2020 19:47

    Stacie - 

    This works great for the names that I need a specific squeeze for.  However, along with these names are many names that do not need a squeeze.  Is there a way to account for a name not entered as a string value?  Right now, if I type in a name that is not in the string value blocks, the squeeze automatically goes to zero.


    #XPression


  • 5.  RE: Text Auto Squeeze based on String Value (names) in Visual Logic

    Posted 07-21-2020 20:26

    If the other names need NO squeeze at all, I would add another set of blocks to this setup connecting the 'max value' to an 'equal to block' so that if max value equals 0, then you can disable the autosqueeze of the text block ('not block' + 'enable autosqueeze block' of the text object)

    Another option could be to set the input selector back to 0 (I had these starting at 1) and input a generic value for zero that would be applicable to all other names entered.

    Hope that helps!


    #XPression


  • 6.  RE: Text Auto Squeeze based on String Value (names) in Visual Logic

    Posted 07-21-2020 22:18

    Stacie -

    I used the 2nd option and it is working perfectly.  Thank you so much for your help!!!  This will eliminate many frustrations in the future for us.


    #XPression


  • 7.  RE: Text Auto Squeeze based on String Value (names) in Visual Logic

    Posted 07-22-2020 13:36

    Awesome! Glad it worked!


    #XPression