ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How can I get parameter from other ScriptUI?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
tolga burcak
How can I get parameter from other ScriptUI?
on Sep 28, 2019 at 10:13:04 am
Last Edited By tolga burcak on Sep 28, 2019 at 10:16:23 am

Hello,

I want to use same textbox value for 2 different Extendscript. Is there any way to get/post value between multiple windows/panels?

Thanks


Return to posts index

Andrei Popa
Re: How can I get parameter from other ScriptUI?
on Sep 30, 2019 at 7:58:10 am

I think that if you define a global variable in one of your scripts, something like "var myText=UI.textbox.text"(i don't know if it will be the same for your UI), you can use it in the other. Just be careful with the naming, so you don't use it somewhere else.

I know that After Effects stores globally the variables if they are not within functions.

Andrei
My Envato portfolio.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]