Quantcast
Channel: Adobe Community : Unanswered Discussions - After Effects
Viewing all articles
Browse latest Browse all 30854

Possible to access last selected COMP?

$
0
0

This is a shot in the dark.

 

But does anyone know if it is possible to access the last highlighted comp?

I am trying to avoid a check like this:

 

if ((activeItem == null) || !(activeItem instanceof CompItem))

{ alert("Please select or open a composition first ya doofus.", scriptName);} else {

 

 

Any ideas?

 

I need to get to the last used comp.

 

Thanks for looking.

- Josh


Viewing all articles
Browse latest Browse all 30854

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>