Forum Replies Created

  • Accidentally double posted.

  • @filipvandueren

    Thanks a lot for your amazing work on this! I’m also in need of a similar solution.

    I need to store the data as a value in a slider. However, using your method, I’m having some issues. It all works fine as long as it’s stored as a text string, but trying to parse it into a value seems to break the expression and just gives me a faulty value.

    I tried fiddling around with it a lot, even bypassing the JSON string and putting the expression directly on a slider. I finally figured out the issue seems to be with the posterizeTime expression. When I set it to 1 or something higher than 0, it gives me the correct value. However, then the expression also becomes way too heavy for my usage, so it’s not really an option for me. Any ideas here?

    Cheers!

  • Oscar Nyquist

    December 10, 2021 at 3:27 pm in reply to: parseInt boolean value

    Cool, thank you very much!

  • Oscar Nyquist

    December 9, 2021 at 1:12 pm in reply to: parseInt boolean value

    Thank you for the quick reply!

    That’s a good workaround. Do you have any idea about whether what I asked about initially is simply impossible within the limitations of JS?

    That is, if there’s any way to parse a non-numerical string into a boolean value? Would be good to know for future reference.

  • Thanks for your reply. Ideally, I need to figure out a way to get around that limitation. I have a setup which feeds data into AE from a google sheet, and sometimes that data will mix different languages in the same sentence, like Japanese and English. The easiest solution would of course be to use a font that supports multiple languages, but I’m using a custom font which unfortunately does not have that capability.

    Do you know if there’s a way to use JS to at least detect when there are glyphs which can’t be read using the current font?

  • Oscar Nyquist

    June 4, 2021 at 1:18 pm in reply to: Extracting data from text layer (non-numeric)

    Yep, the solution was of course too simple for me to figure out on my own. Thanks a lot!

  • Oscar Nyquist

    October 19, 2020 at 8:16 am in reply to: Use script to retrieve value from expression

    I’ve tried adding a function to the script, but this is a bit above my level so I just wanted to ask for a little more help.

    I would like the script to check for precomps with a specific name and then resize that comp to the same size as the main comp. So, let’s say, if the main comp contains a precomp named “one” and/or “two”, resize them. If they don’t exist, then do nothing.

    I understand this might be a little complicated, so any pointers in the right direction are appreciated. Thanks!

  • Oscar Nyquist

    October 15, 2020 at 12:37 pm in reply to: Use script to retrieve value from expression

    Apologies for the late reply.

    This solution was much more elegant than the one I came up with at first, and seems to be working perfectly together with my positioning expressions. Thank you too!

  • Oscar Nyquist

    October 2, 2020 at 9:25 pm in reply to: Use script to retrieve value from expression

    Wow, this was exactly what I was looking for, and I thought it would be much more complicated. Thank you so much!

    While I have you, another possibly more difficult obstacle: would it be possible to create a solution for scaling font size with say comp width?

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy