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

Intercept command

$
0
0

Hi!

 

I've written a plugin (effect) to control MaskShapes instead of AE.

 

I already have a button in my plugin, to switch between 2 options: 1_Mask controls effect, 2_Effect controls mask.

 

Now I'm trying to intercept the following command: Free Transform (ctrl + t).

 

If I get the call, switch to option 1, when Free Transform is over, switch back to option 2.

 

So, here are the issues:

 

First, how to get the call? (I tried to handle PF_Event, but no result for the moment...)

 

More tricky, how to know when user stops Free Transform, as effect isn't selected anymore?

 

If anyone has the beginning of a clue, I'm highly interested!

 

Thanx,

François

 

Note: I found a work around by script and executeScript, but I was wondering if there is a more reliable way through SDK.

 

Ce message a été modifié par: françois leroy


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>