ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Is there a way to grab the text of a pseudo popup effect?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Frederic Antoinette
Is there a way to grab the text of a pseudo popup effect?
on Aug 29, 2018 at 6:33:04 am
Last Edited By Frederic Antoinette on Aug 29, 2018 at 6:38:53 am

Let's say I created a pseudo effect with the days of the week.

^Effect matchname="Week days" name="$$$/AE/Preset/WeekDays=Week Days">
^Popup name="$$$/AE/Preset/WeekDay=WeekDay" popup_string="$$$/AE/Preset/WeekDay/Popup=Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday" default="1" />

If I use something like that
effect("Week days")("WeekDay")
effect("Week days")("WeekDay").value

I get the selection number (1 or 2 etc)

Right now my solution would be to write some conditional code either if else or switch case to get the days of the week

Is there a way to directly grab the text inside the popup so not having to write a long conditional code?

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 All Rights Reserved