Skip to main content
JaimeCC
Participant
March 12, 2019
Question

Retrieve the current time indicator

  • March 12, 2019
  • 1 reply
  • 210 views

Hi i hope someone can help me out with my cuestion.

I want to be able to set the time of the current time indicator on the composition. I know how to do that using AEGP_SetItemCurrentTime but I don't know how to retrievethe AEGP_ItemH for the indicator itself. Right now I'm using AEGP_GetActiveItem and it seems to be ok, but the documentation of SDK says that I would get the current active item and that means that it would not always bring the indicator. Is there a way to specify using the SDK to get the indicator as the AEGP_ItemH.

Thanks!

This topic has been closed for replies.

1 reply

Community Expert
March 12, 2019

AEGP_SetItemCurrentTime is the way to go. there is no "item" or the time

indicator.

as for AEGP_GetActiveItem, the question is not whether it gets the "time

indicator" or not, the question is whether it gets the comp item you want

or not.

for the most part, the "active item " is indeed the comp the user is

currently working on, however it might be some selected item in the project

window as well.