• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
4

Documented list of supported events?

Explorer ,
Jun 08, 2020 Jun 08, 2020

Copy link to clipboard

Copied

I am trying to figure out if there is an application event I can listen for to be notified for:

  • A project file has been opened
  • The opened project file was saved
  • The opened project file was closed

So I scoured the internet and github looking for all events. Unfortunately they don't appear to be documented. I found a bunch of events and registered them all to see which ones actually worked (code below). So far the only events I have been able to get to work are:

  • com.adobe.csxs.events.ExtensionLoaded
  • com.adobe.csxs.events.ExtensionUnloaded
  • com.adobe.csxs.events.ApplicationActivate

Is there a documented list of events which work on After Effects? Or does anybody know of events which work for the conditions I want? Or maybe a way to listen to all events? Thanks.

// NOTE: Not all of these events are valid events. Many are likely custom app events,
// or events specific to other Adobe apps, etc. They were scraped from the web and github...
let eventNames = [
  undefined,
  '',
  'applicationActivate',
  'ApplicationActivate',
  'applicationBeforeQuit',
  'ApplicationBeforeQuit',
  'com.adobe.browser.event.ConcatenationCancel',
  'com.adobe.browser.event.ConcatenationRequest',
  'com.adobe.browser.event.DeleteDynamicColumns',
  'com.adobe.browser.event.ExitApp',
  'com.adobe.browser.event.ExportAsset',
  'com.adobe.browser.event.GetAssociatedFiles',
  'com.adobe.browser.event.GetCurrentWorkMode',
  'com.adobe.browser.event.GetMediaPropertyInfo',
  'com.adobe.browser.event.InsertDynamicColumns',
  'com.adobe.browser.event.IsPremiereProInstalled',
  'com.adobe.browser.event.OpenIngestDialog',
  'com.adobe.browser.event.ReadXMPFromCache',
  'com.adobe.browser.event.ReadXMPFromDisk',
  'com.adobe.browser.event.RenameRequest',
  'com.adobe.browser.event.SendTagTemplate',
  'com.adobe.browser.event.TranscodeCancel',
  'com.adobe.browser.event.TranscodeRequest',
  'com.adobe.browser.event.TransferRequest',
  'com.adobe.browser.event.UpdateDynamicColumnFields',
  'com.adobe.browser.event.WriteXMPToDisk',
  'com.adobe.ccx.start.handleLicenseBanner',
  'com.adobe.csxs.events.ApplicationActivate',
  'com.adobe.csxs.events.ApplicationBeforeQuit',
  'com.adobe.csxs.events.AppOffline',
  'com.adobe.csxs.events.AppOnline',
  'com.adobe.csxs.events.CustomApplicationEventWithoutPayload',
  'com.adobe.csxs.events.CustomApplicationEventWithPayload',
  'com.adobe.csxs.events.DocumentAfterActivate',
  'com.adobe.csxs.events.DocumentAfterDeactivate',
  'com.adobe.csxs.events.DocumentAfterSave',
  'com.adobe.csxs.events.ExtensionUnloaded',
  'com.adobe.csxs.events.ExtensionLoaded',
  'com.adobe.csxs.events.flyoutMenuClicked',
  'com.adobe.csxs.events.flyoutMenuOpened',
  'com.adobe.csxs.events.flyoutMenuClosed',
  'com.adobe.csxs.events.OkClicked',
  'com.adobe.csxs.events.panelWindowStatusChanged',
  'com.adobe.csxs.events.PanelWindowStatusChanged',
  'com.adobe.csxs.events.PProPanelRenderEvent',
  'com.adobe.csxs.events.ThemeColorChanged',
  'com.adobe.csxs.events.WindowVisibilityChanged',
  'com.adobe.csxs.events.WorkspaceChanged',
  'com.adobe.event.applyDissolve',
  'com.adobe.event.unloadDissolveExtension',
  'com.adobe.events.ApplyUnassociatedMetadata',
  'com.adobe.events.selectedMarkerEvent',
  'com.adobe.events.SendUnassociatedMetadata',
  'com.adobe.events.TextFieldFocusIn',
  'com.adobe.events.TextFieldFocusOut',
  'com.adobe.host.notification.AppExit',
  'com.adobe.host.notification.ConcatenationProgress',
  'com.adobe.host.notification.ConcatenationStatus',
  'com.adobe.host.notification.DeleteDynamicColumnsStatus',
  'com.adobe.host.notification.ExportResultInfo',
  'com.adobe.host.notification.GetAssociatedFilesStatus',
  'com.adobe.host.notification.GetCurrentWorkModeStatus',
  'com.adobe.host.notification.IngestItemsReady',
  'com.adobe.host.notification.InsertDynamicColumnsStatus',
  'com.adobe.host.notification.MarkerAdded',
  'com.adobe.host.notification.MarkerChanged',
  'com.adobe.host.notification.MarkerDeleted',
  'com.adobe.host.notification.MarkerSelectionChanged',
  'com.adobe.host.notification.OpenIngestDialogStatus',
  'com.adobe.host.notification.ReadXMPFromCacheStatus',
  'com.adobe.host.notification.ReadXMPFromDiskStatus',
  'com.adobe.host.notification.RenameStatus',
  'com.adobe.host.notification.SaveAsset',
  'com.adobe.host.notification.SelectedAssetInfo',
  'com.adobe.host.notification.SendTagTemplateStatus',
  'com.adobe.host.notification.TranscodeProgress',
  'com.adobe.host.notification.TranscodeStatus',
  'com.adobe.host.notification.TransferProgress',
  'com.adobe.host.notification.TransferStatus',
  'com.adobe.host.notification.UpdateDynamicColumnFieldsStatus',
  'com.adobe.host.notification.WriteXMPToDiskStatus',
  'com.adobe.PhotoshopJSONCallback',
  'com.adobe.PhotoshopPersistent',
  'com.adobe.PhotoshopRegisterEvent',
  'com.adobe.PhotoshopUnPersistent',
  'com.adobe.PhotoshopUnRegisterEvent',
  'documentAfterActivate',
  'DocumentAfterActivate',
  'documentAfterDeactivate',
  'DocumentAfterDeactivate',
  'documentEdited',
  'DocumentEdited',
  'documentAfterSave',
  'DocumentAfterSave',
  'documentCreated',
  'DocumentCreated'
];
eventNames.forEach(function(eventName) {
  csInterface.addEventListener(eventName, async function(evt) {
    window.console.log(`ON_EVENT ${eventName}: ${JSON.stringify(evt)}`);
  });
});

 

TOPICS
Scripting

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jul 24, 2022 Jul 24, 2022

Copy link to clipboard

Copied

LATEST

jump

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines