Thanks Sergei! Super helpful as always. If anyone else wants to control space size, but have paragraph breaks, here's what i used for that. Basically you swap "\s" with "\u0020" txt = text.sourceText; txt.replace(/\u0020/g, "\u200a".repeat(effect("Word Spacing")("Slider")))
Hiya! amazing thanks a lot! Just one thing, I needed to change something that took me a while to figure it out! Project Settings -> Expressions and choose JavaScript
Excellent! I've been struggling hard with expressions similiar to this and when I then watch your tutorials it all seems so simple. So afterwards I always smack myself for taking a much longer approach.. :)
or something better still, the same to manipulate the tracking of each word (in case of having several layers of text) and that it was possible to use it as a preset. maybe with Smart control, which by the way I bought it recently and it's great !!!!
Hey bro , really big fan of yours, can u help me a little on this issue.please provide some info that how news or live channel changes text like headlines, players stats realtime of graphics that are animated or made in after affects. Thank you
@@T_Armstrong actually I think we can get this vertical spacing with the text animator "Animate 》Line Spacing". There's the controller with two values. Give it a try, maybe it's what you're looking for ;)
I would apply this expression to the souretext property of the text layer: lineSpacingSlider = effect("Line Spacing")("Slider").value; text.sourceText.style.setLeading(lineSpacingSlider)
Make sure you use the latest JavaScript engine. Go to File -> Project Settings -> Expressions -> Expressions Engine -> and make sure it is set to JavaScript. I hope this helps. Thanks!
Thanks Sergei! Super helpful as always. If anyone else wants to control space size, but have paragraph breaks, here's what i used for that. Basically you swap "\s" with "\u0020"
txt = text.sourceText;
txt.replace(/\u0020/g, "\u200a".repeat(effect("Word Spacing")("Slider")))
Hiya! amazing thanks a lot!
Just one thing, I needed to change something that took me a while to figure it out!
Project Settings -> Expressions and choose JavaScript
I couldn't tell what kind of black magic this is! Thanks Sergei.
Very useful, and you make it very simple!
Excellent! I've been struggling hard with expressions similiar to this and when I then watch your tutorials it all seems so simple. So afterwards I always smack myself for taking a much longer approach.. :)
Thank you for your kind words! I'm glad you found this useful.
Great thx
Mind Blowing!
thank you very much! I use this to add my morg file
thank you!!
Thank you for sharing such an amazing tip.
Thank you for your kind words, Muhammad! I appreciate it a lot!
Thanks. Really great one!
Thanks!
非常实用的小技巧
thanks for amazing information, how to get the exact space value between two words?
oh !! these great super useful !!!
I wonder if it is possible to do the same but only for tracking?
or something better still, the same to manipulate the tracking of each word (in case of having several layers of text) and that it was possible to use it as a preset. maybe with Smart control, which by the way I bought it recently and it's great !!!!
That's what I need, thanks. Isn't it strange, there is no control section for word spacing in Character panel? Thanks anyway.
you should've put the expression in the description to make it easier
Awesome tips, is it possible to use expressions to change a word into bold or different weights of the font from the source text? Thank you!
Are you talking about a single word from the entire line of text? If so, I don't think it's possible.
Yes, that is what I meant. Trying to create a mogrt with that option so an important word can be bold from a sentence. Thank you!
Hey bro , really big fan of yours, can u help me a little on this issue.please provide some info that how news or live channel changes text like headlines, players stats realtime of graphics that are animated or made in after affects.
Thank you
Thank you for your kind words and your request! I'll see what I can do.
Is there a good way of set up spacing for letters. Like i like to set up words in a grid.
This is handy! Is there a similar version for vertical spacing between lines of text?
I didn't try but maybe if you set a break line in the replace parameter it should be a good attempt. I think it's
that is recognized as a new line
@@dege.r Thanks. Mucked around with it but it doesn't seem to let you replace a line break. User error I'm sure :)
@@T_Armstrong actually I think we can get this vertical spacing with the text animator "Animate 》Line Spacing". There's the controller with two values. Give it a try, maybe it's what you're looking for ;)
@@dege.r Didnt even consider something so simple. No brainer. Thanks Daniel!
I would apply this expression to the souretext property of the text layer:
lineSpacingSlider = effect("Line Spacing")("Slider").value;
text.sourceText.style.setLeading(lineSpacingSlider)
That is good
Thank you, Prem!
Amazzzzzzzzzzzzinggggggggggggggggggggg
Thanks, Nakhil!
There anything smaller than u200A? the animation is not very smooth
It seems I am unable to have differing font sizes in one text layer and still use this method. Any advice?
How do I add these blank spaces to the end of a line of text?
i had a problem. " REPEAT IS NOT A A FUNCTION" cc2019 and cc2020
Make sure you use the latest JavaScript engine. Go to File -> Project Settings -> Expressions -> Expressions Engine -> and make sure it is set to JavaScript. I hope this helps. Thanks!
@@ukramedia right !!!! Thanks
@@ukramedia I had the same problem and your tip worked thanks