This is amazing! Thank you very much for sharing your knowledge, by far this is the most advanced expression tutorial and really wish you add more After Effects tutorials in future. I do wonder if it is possible to highlight and position rectangles under some words in a regular sentence marked with a special glyph for example with this technique. I tried it but could not make it unfortunately. It would be great if you also make one tutorial about it. Thank you again!
Thank you for your kind words. Unfortunately I can’t think of a way to do what you requested in your comment right now. If I come up with something I will let you know.
I wish you did more AE scripting tutorials. You seemed to have moved on to Blender. Please more AE expressions!!! I enjoy your projects and teaching style. Thank you.
Thank you! I'm not quite done with AE expressions videos. I have a couple of new and original projects in mind, really good and practical stuff. I've pushed it aside for too long now. Always thought long videos make people lose interest. But then, complex topics need time to explain. It's an ongoing dilema. Instead of learning how something is done, nowadays most people just want downloadable templates. But I promise, I will make time to record and share it, somehow.
@@ilirbeqiri One suggestion that might help you solve the dilemma and make everyone happy. Break the video into two pieces where you do the easy part first, then the second half you add more features to the project for more advanced users. Longer format is always appreciated! Cheers.
Actually, I get to the 18 minute mark without any problems, but then the boxes don't adjust to each line's individual width. It just shows the same width for all lines, which is the width of the longest one. Any idea why?
Hi Daniel, I’m glad you’re following my tutorial. I don’t know what problem you might have encountered, but I can assure you that there are no hidden steps in this tutorial. Those ate the exact steps i’ve walked through myself. I know it is a complex one, and you might easily have missed some trivial step somewhere down the line. Make sure you haven’t forgotten anything. Otherwise, have a look at the link down at the description section and download the finished project. It’s not free, but not expensive either.
@@ilirbeqiri I have the finished project. Thanks so much! I noticed when typing new text, the left edge of the boxes get shifted slightly. It might just happen because of the font I'm using. I imagine there could be more code added to avoid that. Or I can just use a shape layer and an Alpha matte to make all the left edges the same. Thanks again and take care
I think its some kind of bug from AE. I was also having the same issue and I couldn't figure out why since I was doing everything 100% the same. I think the bug happens when you copy paste a text layer from another composition instead of creating one from scratch. For some reason AE treats this layer differently. So if you're having the same issue just try to make a new text layer!
Except for monospaced fonts, each character’s width is different. But you can counter the problem with some manual kerning for the lines that pop up. Just Alt+Click and that’s it.
Hello, great tutorial! Is there a way to us the split method in order to obtain the lines of a text box when they automatically are broken into different lines ?
Thank you for your efforts! Btw is there a way to create a text, that will always fit a defined area ( for example shape) - so if the text is larger than the width of the shape, then a newline is created automatically and this process of the new line creation continues unless all text fits the area. This is similar to paragraph text, but also when the text hits the bottom of the shape and the text is still larger than the width of the defined area (shape), then it scales down or its font scales down automatically so it can fit anyway. I think it's possible with the expressions, but I haven't been able to do it with my little knowledge, it would be cool if you can create a video on that! Thank you!!
I made a little test. While selecting the main text layer, with the Text tool active, right-click over your text in the Comp window and choose "Convert to Parapgraph Text". This breaks my setup temporarily, as the paragraph text in reality works with just on line of text. After tweaking the outline rectangle to your liking (you've got the desired number of lines etc), right-click again and choose "Convert To Point Text". This should automatically split the text in real lines and auto-generate the borders. Unfortunately, my setup takes for granted that all text lines have the same font size. You can, in theory, change the font for a particular line, but the borders keep the font size of the first line of text. I hope to have been of help.
This is awesome but I am stuck at 16:50. The box sized are correct but they're all stacked on top of each other on line 01. The anchor point grouping is set to lines but still doesn't work. Do you have any idea?
I’m sorry to hear that. Have you switched the expressions language to Javascript in the project settings? There are no hidden steps in this video, so you must surely missed one.
@@ilirbeqiri I am having this same problem. Everything works, up until this point. The expressions language is set to Javascript in the project settings. The AE version is 24.5.0 (build 25). I don't know if maybe I made a typo somewhere but I guess it would return an error if I had... borderText = "g ".repeat(thisLayer.parent.text.sourceText.split(" ").length - 1); borderText += "g";
At 11:20 when I type this" borderText = "g ".repeat(thisLayer.parent.text.sourceText.split(" ").length - 1); I get an error "g ".repeat is not a function. What am I doing wrong please?