Search found 1 match

by benroll
February 10th, 2011, 12:02 pm
Forum: Scripts Discussion
Topic: Test if running with After Effects UI
Replies: 2
Views: 7526

Re: Test if running with After Effects UI

Paul Tuersley wrote:Do you mean test if the script is running in After Effects, or test if it's running as a dockable panel?

For the second you could use something like:

Code: Select all

if (myPal instanceof Panel) {
Thanks, Paul. That did the trick.

-Ben.