Skip to main content
Inspiring
May 8, 2025
Answered

Expression and mogrt not working in Pr

  • May 8, 2025
  • 1 reply
  • 584 views

Hi. I got the same problem than like month ago. (https://community.adobe.com/t5/after-effects-discussions/essention-graphics-slider-control-not-working/m-p/15179348#M262667 )

 

This time with opacity.

if (effect("Checkbox Control")("Checkbox") == 1){ 100 }else{ 0 }

The Expression and Essential Graphics works in Ae 2025.1 but not in Premiere 25.1

please find here the files

https://www.swisstransfer.com/d/6c33b2fc-1314-4f1d-820c-d24124d00e6b

 

Correct answer Aaron Cobb

 

thisLayer("ADBE Effect Parade")

is another way of referencing the effect property of the layer. "ADBE Effect Parade" is a match name, which is Adobe's universal, language-independent name for an After Effects property.

thisLayer("ADBE Effect Parade")("Checkbox Control")

references the effect named "Checkbox Control"  on the effect property of the layer (the effect name shouldn't change when the project is loaded into a diifferent language of AE or Premiere since it is set by the user).

thisLayer("ADBE Effect Parade")("Checkbox Control")("ADBE Checkbox Control-0001")

references the checkbox property on the Checkbox Control effect, again using that property's match name.

 

I was only able to test this expression in English, but if you substitute it for

effect("Checkbox Control")("Checkbox")

 in your expression I am pretty sure it should work regardless of the application language.

 

There is a script called "Expression Universalizer" that I have not personally used but that might be useful to you: https://aescripts.com/expressionuniversalizer/

1 reply

Inspiring
May 9, 2025

In your previous post you mention you are creating this in English-language AE for use in German-language Premiere. I would bet the localization of the of the scripting language is the issue. Can you try using 

thisLayer("ADBE Effect Parade")("Checkbox Control")("ADBE Checkbox Control-0001")

 instead to reference the checkbox?

simon0815Author
Inspiring
May 12, 2025

YES! It was the language problem. I changed Pr to english, now it works.

 

the last solution was change "SLIDER" to "1", which also solves the language problem! No I get it! 🙂

 

I have to try your solution with your expressions. I hope it works for both languages. Can do that next wednesday

THANKS!