On Tab Change Event

Are there any events that get fired each time a tab changes? I’d like to execute a command not only when documents are newly opened, but also when documents which are already opened as tabs get switched to. I don’t think the Workspace object has a listener for this event, but maybe there’s a workaround with a different event that happens to get fired any time a tab changes?

There is not currently an event for this in the Extension API, but we will consider it a feature request!

1 Like