AEGP - How to get comp of active timeline, even if other comp is view-locked?
hello!
i'm creating aegp needs check flags , in/out of layers in active comp continuously. loop through layers in idlehook, , since there's no heavy processing (almost none if nothing has changed) seems work without affecting performance much. great if track whenever timeline has been manipulated, if user done dragging layer or manipulates layer flags, far understand, not possible sdk?
anyway real problem need check layers in active timeline. right use aegp_getactiveitem comp , works perfectly, until click lock view of 1 comp , switch timeline. aegp_getactiveitem still locked comp seen in viewer, though active timeline has changed. there way know comps open in timeline tabs, or better comp of active timeline?
any appreciated!
thanks in advance
petter bergmar
err...
sorry, no great news...
regarding time change command notifications,
i don't know if there's such event, because commands not listed anywhere. (you have contact adobe , ask)
but can experiment , see!
use aegp_registercommandhook aegp_command_all, , see if calls during time changes.
(it's might take time filter out other calls...)
as telling timeline active...
i don't know of direct way.
what javascript? if script gets active timeline , not viewed comp, can use execute_script(), retrieve result.
otherwise... don't know.
:-(
More discussions in After Effects SDK
adobe
Comments
Post a Comment