Skip to main content
Fine Wu
Participant
December 1, 2021
Answered

Monitor actions and callback functions

  • December 1, 2021
  • 1 reply
  • 315 views

How can I add a listener? I guess I use CSInterface.addEventListener(), but I don’t know how to set the parameters. I only found Photoshop examples on the Internet. For example, clicking on the clips can trigger a function. 

( This gif is just a simulation and has not been implemented )

This topic has been closed for replies.
Correct answer Bruce Bullis

PProPanel demonstrates how to listen for (and respond to) onActiveSequenceSelectionChanged, and onActiveSequenceStructureChanged messages.

 

1 reply

Bruce Bullis
Community Manager
Community Manager
December 1, 2021

How can I add a listener?

 

Specifically, to what events would you like to listen?

Fine Wu
Fine WuAuthor
Participant
December 2, 2021

Listen to click or select some clips, I want to get the name or index of the selected clips, at the moment of click

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
December 3, 2021

PProPanel demonstrates how to listen for (and respond to) onActiveSequenceSelectionChanged, and onActiveSequenceStructureChanged messages.