Skip to main content
Known Participant
August 30, 2023
Question

How to tell a script which pane is active

  • August 30, 2023
  • 1 reply
  • 138 views

Hi folks, I'm trying to write a script that behaves differently depending on whether you selected a layer in the composition window or a composition in the projected window.  I'm fairly certian there's a way to tell the script which pane is "active" (that is, which one has that little blue line around it) but I can't for the life of me figure out how.  Anyone know how to do this?  Thanks so much!

This topic has been closed for replies.

1 reply

Mylenium
Legend
August 30, 2023

No, there isn't. That has forever been the problem. You can kind of hack it together with an event viewer and check the panel instances and there are posts on it, but there is no simple if () this and that check.

 

Mylenium